Skip to content

Commit

Permalink
feat: add tests for most scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryduckworth committed Oct 20, 2023
1 parent 00eb188 commit 9046be2
Show file tree
Hide file tree
Showing 22 changed files with 2,033 additions and 132 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,11 @@
"newlines-between": "always"
}
]
}
},
"overrides": [
{
"files": ["**/*.test.ts", "**/*.test.tsx"],
"excludedFiles": ["src/tests/**/*"]
}
]
}
22 changes: 22 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy

on:
pull_request:
branches: [main]
workflow_dispatch:

jobs:
pr-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3

- name: Install dependencies
run: npm install

- name: Run Vitest
run: npm run test
Loading

0 comments on commit 9046be2

Please sign in to comment.