mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
539 stars 123 forks source link

Flaky: `modules/http/response/readable-stream.test.ts` #554

Open kettanaito opened 5 months ago

kettanaito commented 5 months ago

I'm really sick of this test. The code runs faster than intended and it breaks CI all over the place.

FAIL  modules/http/response/readable-stream.test.ts > supports delays when enqueuing chunks
 Test Files  1 failed | 84 passed | 1 skipped (86)
AssertionError: expected 119.38170900000841 to be greater than or equal to 150

Vitest's built-in performance testing API may help with this.