Issue with TestClock.setTime and TestContext not sharing in call stack

I'm trying to use TestClock.setTime in a test. TestContext is provided and if I call yield* DateTime.now right away shows the right time but a nested function is getting the real time, is like the TestContext not being shared in the call stack. What am I missing?
Was this page helpful?