3 ms·
Fair enough. If you want to mock time differentials like that, I see that one could use something to mock that. However, what you probably ideally would want to
by loopz 6y ago
Fair enough. If you want to mock time differentials like that, I see that one could use something to mock that. However, what you probably ideally would want to mock are the order of events, and not certain language-specific stdlib-calls. Though would depend how explicit you want to define your domain.