a52ebf4089
This PR adds a test to confirm that the component will be committed after the stylesheet is loaded, by delaying the CSS request in middleware and then check the active style in `useEffect` (technically it should be `useLayoutEffect`). Since our current timeout for that is set to 500ms, I also added a test with 1000ms delay to rule out false negative cases. |
||
---|---|---|
.. | ||
.stats-app | ||
__mocks__ | ||
development | ||
e2e | ||
examples | ||
integration | ||
lib | ||
production | ||
unit | ||
.gitignore | ||
jest-setup-after-env.ts | ||
jest.d.ts | ||
readme.md | ||
test-file.txt |