Skip to content

Commit 0f6599c

Browse files
committed
add jest for unit testing
1 parent 8b12c73 commit 0f6599c

File tree

6 files changed

+4441
-14
lines changed

6 files changed

+4441
-14
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/
22
node_modules/
3+
coverage/

jest.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
testRegex: 'test/.*\.test\.ts$'
5+
};

0 commit comments

Comments
 (0)