Use should < instead of trying to match the boolean itself. This way, the output on failures show the actual duration instead of just a true/false error.
Example error message with this change:
Expected 0.15368436999779078 < 0.03
Just happened to spot this in #1212. I'm leaving this as draft for now, to prevent it from clashing with those changes.
Use
should <
instead of trying to match the boolean itself. This way, the output on failures show the actual duration instead of just a true/false error.Example error message with this change:
Just happened to spot this in #1212. I'm leaving this as draft for now, to prevent it from clashing with those changes.