Skip to content

Commit 844670f

Browse files
authored
Merge pull request #2 from bruin-data/patch/add-tests
add tests
2 parents b635728 + d546286 commit 844670f

7 files changed

Lines changed: 4890 additions & 1190 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ jobs:
1818
node-version: '20'
1919
- name: NPM install
2020
run: npm install
21+
- name: Unit Test
22+
run: npx jest
2123
- name: NPM Build
2224
run: npm run build
25+
26+

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ checkgenerate:
5050

5151
node_modules: package-lock.json
5252
npm ci
53+
54+
test:
55+
npx jest

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)