Skip to content

Commit 73e7f48

Browse files
committed
add jest
1 parent 902f600 commit 73e7f48

File tree

4 files changed

+5502
-2272
lines changed

4 files changed

+5502
-2272
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
node-version: '20.x'
1313
registry-url: 'https://registry.npmjs.org'
1414
- run: npm ci
15-
# - run: npm test
15+
- run: npm test
1616
- run: npm run build
1717
- run: npm publish
1818
env:

jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
preset: "ts-jest",
3+
testEnvironment: "node",
4+
};

0 commit comments

Comments
 (0)