Open Gekctek opened 5 months ago
I use a workaround for this. I expose a setTimers
method which I call from my actor but not from my tests.
Hmm. Thats not really an option for me. I have a class that handles timers internally and so is abstracted out from the user Im assuming this is a non-trivial change. But im not sure what to do. For my testing, i just commented out the timers, but then turn them back on when not testing
Is there a way I can run some code that will set a timer without an error? I have some code that kicks off a timer (dont care about it for the test) and i get this error
FAIL internals:604:11: execution error, Value.prim: global_timer_set
Maybe some sort of mock, or just ignore the timer? what are my options