Skip to content

Commit

Permalink
Add swc/jest tests. Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
trurl-master committed Sep 4, 2023
1 parent 5a9b53b commit 64783ab
Show file tree
Hide file tree
Showing 7 changed files with 4,426 additions and 24,004 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ vi.useFakeTimers({

## Testing framework support

We aim to support all major testing frameworks that support jsdom. Internally, there are no dependencies on any of them, so it's likely that it will work out of the box. Currently tested and confirmed to work with [jest](https://jestjs.io/) and [vitest](https://vitest.dev/). If you encounter any problems with other testing frameworks, please open an issue.
We aim to support all major testing frameworks that support jsdom. Internally, there are no dependencies on any of them, so it's likely that it will work out of the box. Currently tested and confirmed to work with [jest](https://jestjs.io/), [@swc/jest](https://swc.rs/docs/usage/jest) and [vitest](https://vitest.dev/) (with [some setup](#with-vitest)). If you encounter any problems with other testing frameworks, please open an issue.

## Mock viewport

Expand Down
Loading

0 comments on commit 64783ab

Please sign in to comment.