Skip to content

Commit

Permalink
Merge pull request #2 from bruin-data/patch/add-tests
Browse files Browse the repository at this point in the history
add tests
  • Loading branch information
albertobruin authored Feb 4, 2025
2 parents b635728 + d546286 commit 844670f
Show file tree
Hide file tree
Showing 7 changed files with 4,890 additions and 1,190 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ jobs:
node-version: '20'
- name: NPM install
run: npm install
- name: Unit Test
run: npx jest
- name: NPM Build
run: npm run build


3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ checkgenerate:

node_modules: package-lock.json
npm ci

test:
npx jest
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
};
Loading

0 comments on commit 844670f

Please sign in to comment.