Skip to content
Compare
Choose a tag to compare
@build-travis-ci build-travis-ci released this 24 Oct 09:07
· 446 commits to master since this release
4bb85e4

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#1908

    Breaking 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.

Minor Changes

  • e83b74b: Fix peer dependencies and adapt code to be compatible with pnpm
  • 96d6884: feat: mock revokeURL
  • 9a0732e: feat: add api to set a fetch MockResponse
    feat: add jest-axe integration