Landry Norris02/01/2023, 10:41 PM
Alex Vanyo02/01/2023, 10:46 PM
Landry Norris02/01/2023, 10:54 PM
Alex Vanyo02/01/2023, 11:08 PM
, which will change its behavior during tests. Although here it sounds like there’s more core logic that won’t end. I think your main alternative to messing with autoadvance is to have a way to make the test more controllable, instead of directly dependent on time. Maybe in tests, you could replace the controller or “thing” that outputs a signal every 30 seconds with a test version that you could send out a signal manually with. So then in your tests, it would be something like
, and then you wouldn’t have any time dependency in a test.