Skip to content

Commit

Permalink
Merge pull request #52 from trurl-master/swcjest
Browse files Browse the repository at this point in the history
Add swc/jest tests
  • Loading branch information
trurl-master authored Sep 8, 2023
2 parents 5a9b53b + 589312d commit 946c26f
Show file tree
Hide file tree
Showing 7 changed files with 4,439 additions and 24,005 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 946c26f

Please sign in to comment.