dillon1000/react

Commit

Make ReactWebWorker-test.js less flaky.

Two improvements: make sure we set `done = true` when an error message is
received, so that the test output contains the error message instead of
eventually timing out and displaying nothing useful; and increase the
timeout for this particular test from 5000ms (the default) to 20000ms.
Browse files
Changed paths1 file
First-parent comparison
M src/browser/__tests__/ReactWebWorker-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…