Skip to content

Commit

Permalink
use vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
SEAPUNK committed Apr 7, 2024
1 parent d7a2c09 commit 8aae95d
Show file tree
Hide file tree
Showing 5 changed files with 738 additions and 1,738 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
- name: test:types
run: pnpm run test:types

test-jest:
test-vitest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/common-setup

- name: test:jest
run: pnpm run test:jest
- name: test:vitest
run: pnpm run test:vitest

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
Expand Down
5 changes: 0 additions & 5 deletions jest.config.cjs

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"test:style": "prettier --check .",
"test:lint": "eslint .",
"test:types": "tsc --noEmit",
"test:jest": "jest --coverage",
"test": "pnpm run test:style && pnpm run test:lint && pnpm run test:types && pnpm run test:jest",
"test:vitest": "vitest --coverage",
"test": "pnpm run test:style && pnpm run test:lint && pnpm run test:types && pnpm run test:vitest",
"prepublishOnly": "tsc"
},
"repository": {
Expand All @@ -39,15 +39,14 @@
},
"homepage": "https://github.com/SEAPUNK/recaller#readme",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.12.4",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3"
"typescript": "^5.4.3",
"vitest": "^1.4.0"
},
"packageManager": "pnpm@8.15.6"
}
Loading

0 comments on commit 8aae95d

Please sign in to comment.