Skip to content

Commit 720fbce

Browse files
authored
test: add Jest tests (#3)
1 parent 4ef596b commit 720fbce

6 files changed

Lines changed: 3294 additions & 121 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828

2929
- run: npm run build
3030

31+
- run: npm run test
32+
3133
release:
3234
runs-on: ubuntu-latest
3335
needs:

jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: "ts-jest",
3+
resetMocks: true,
4+
roots: ["<rootDir>/src"],
5+
testEnvironment: "node",
6+
};

0 commit comments

Comments
 (0)