Skip to content

Commit

Permalink
Migrate testing framework to Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
beneyal committed Mar 13, 2022
1 parent 60bb27c commit 471a97b
Show file tree
Hide file tree
Showing 21 changed files with 5,565 additions and 1,611 deletions.
1 change: 1 addition & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'jest-extended';
11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
setupFilesAfterEnv: ["jest-extended/all"],
globals: {
'ts-jest': {
isolatedModules: true
}
}
};
Loading

0 comments on commit 471a97b

Please sign in to comment.