Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Add unit test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
qinezh committed Dec 6, 2019
1 parent 889e465 commit 33f67e2
Show file tree
Hide file tree
Showing 5 changed files with 9,455 additions and 2,343 deletions.
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
transform: { '^.+\\.ts?$': 'ts-jest' },
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
};
Loading

0 comments on commit 33f67e2

Please sign in to comment.