Skip to content

Commit

Permalink
chore: use vitest (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashass authored Jun 27, 2022
1 parent 35ff58e commit 1aa219c
Show file tree
Hide file tree
Showing 9 changed files with 573 additions and 2,050 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
- name: Unit test
run: pnpm run test

- uses: artiomtr/[email protected]
if: "github.event_name == 'pull_request'"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-step: all

typecheck:
name: Typecheck
runs-on: ubuntu-latest
Expand Down
22 changes: 0 additions & 22 deletions jest.config.ts

This file was deleted.

16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,22 @@
"lint": "eslint --max-warnings 0 .",
"lint:format": "prettier --check .",
"start": "pnpm run build -- --watch",
"test": "jest --forceExit --detectOpenHandles --testLocationInResults --json --outputFile=report.json",
"test:watch": "pnpm run test -- --watch",
"test": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"release": "semantic-release"
},
"devDependencies": {
"@geprog/eslint-config": "1.0.2",
"@geprog/eslint-config": "1.1.0",
"@geprog/semantic-release-config": "1.0.0",
"@jest/types": "27.4.2",
"@types/jest": "27.4.0",
"@types/node": "17.0.13",
"c8": "7.11.3",
"eslint": "8.8.0",
"jest": "27.4.7",
"mongodb": "4.3.1",
"prettier": "2.5.1",
"semantic-release": "19.0.2",
"ts-jest": "27.1.3",
"ts-node": "10.4.0",
"tsup": "5.11.13",
"typescript": "4.5.5"
"typescript": "4.5.5",
"vitest": "0.16.0"
},
"peerDependencies": {
"mongodb": "^3.6.0 || ^4.0.0"
Expand Down
Loading

0 comments on commit 1aa219c

Please sign in to comment.