build-travis-ci
released this
24 Oct 09:07
·
446 commits
to master
since this release
Major Changes
-
9a0732e: - fix: enforce timer at the end of all tests.
- feat: mock ally.js has it uses unsupported dom method from jsdom.
- feat: add jest-axe configuration
To support floating-ui/react following issue we have decided to add an afterAll to let floating-ui finish stuff
floating-ui/floating-ui#1908Breaking changes:
you may have tests where you ask for jest.useFakeTimer without go back to real at some point. This is a side effect and it is not compatible with our change to support floating-ui.
jest.useFakeTimers() render(<Tooltip><button></Tooltip>) +jest.useRealTimers()
This will fix an error said your test is still pending after 5000 ms.