Skip to content

Commit

Permalink
chore: Add testing and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Caraccia authored and omarluq committed Nov 22, 2023
1 parent d174ffa commit dfa0012
Show file tree
Hide file tree
Showing 12 changed files with 6,017 additions and 393 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run Tests

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- run: yarn install --frozen-lockfile
- run: yarn test
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/test/**/*.test.ts'],
};
Loading

0 comments on commit dfa0012

Please sign in to comment.