Skip to content

Commit

Permalink
Use node:test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhammes committed Feb 19, 2024
1 parent 632001b commit b5c23c8
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 2,536 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 21]
node: [21]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 21]
node: [21]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
Expand Down
16 changes: 0 additions & 16 deletions jest.config.ts

This file was deleted.

7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
"private": true,
"type": "module",
"dependencies": {
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"devDependencies": {
"@swc/core": "^1.4.2",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"jest": "^29.7.0",
"tsx": "^4.7.1"
},
"scripts": {
"start": "tsx src/index.ts",
"build": "tsc",
"test": "jest"
"test": "node --import tsx --test tests/**/*.ts"
}
}
Loading

0 comments on commit b5c23c8

Please sign in to comment.