2 ms·
You're not out of luck. Your testing framework should allow you to hardcode different responses to different requests. Include the time in the response if you n
by 8n4vidtmkvmk 3y ago
You're not out of luck. Your testing framework should allow you to hardcode different responses to different requests. Include the time in the response if you need to, it shouldn't be hard.
I've started adding random elements to my mock responses to force other developers to not assert things that aren't relevant to the test.