Skip to content

Commit

Permalink
chore: use vitest (#23)
Browse files Browse the repository at this point in the history
* chore: use vitest

* coverage action skip steps

* remove coverage action

* require full test coverage

* update deps
  • Loading branch information
lukashass committed Jun 24, 2022
1 parent b93ca4e commit 5ef1deb
Show file tree
Hide file tree
Showing 9 changed files with 770 additions and 2,135 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.

15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,25 @@
"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.5",
"@geprog/semantic-release-config": "1.0.0",
"@jest/types": "27.5.1",
"@types/jest": "27.4.1",
"@types/node": "17.0.23",
"@types/supertest": "2.0.12",
"c8": "7.11.3",
"eslint": "8.11.0",
"jest": "27.5.1",
"jsdom": "20.0.0",
"prettier": "2.6.1",
"semantic-release": "19.0.2",
"supertest": "6.2.2",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"tsup": "5.12.1",
"typescript": "4.6.3",
"vite": "2.8.6"
"vite": "2.9.8",
"vitest": "0.16.0"
},
"peerDependencies": {
"vite": "^2.0.0"
Expand Down
Loading

0 comments on commit 5ef1deb

Please sign in to comment.