Skip to content

Commit

Permalink
Run Jest in JSDom: browser-like env rather than NodeJS (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
korya committed Oct 24, 2023
1 parent c913bac commit 2b637db
Show file tree
Hide file tree
Showing 3 changed files with 559 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testEnvironment: 'jsdom',
};

0 comments on commit 2b637db

Please sign in to comment.