Skip to content

Commit

Permalink
Fix up running of tests
Browse files Browse the repository at this point in the history
The tests were not running.

Fixed by replacing test-runner mocha with jest. The tests themselves don't need to be changed as mocha and jest have similar APIs.

Added type=module in package.json. Not sure if this would have side-effects.
  • Loading branch information
siddharthvp committed Jan 14, 2021
1 parent cd2687e commit c8ae5f7
Show file tree
Hide file tree
Showing 6 changed files with 6,684 additions and 4,287 deletions.
11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
preset: 'ts-jest',
testEnvironment: 'node',
globals: {
'ts-jest': {
diagnostics: {
warnOnly: true
}
}
}
}
Loading

0 comments on commit c8ae5f7

Please sign in to comment.