Skip to content

Commit

Permalink
Use node test runner
Browse files Browse the repository at this point in the history
Signed-off-by: Oğuzhan Durgun <[email protected]>
  • Loading branch information
oguzhand95 committed Oct 9, 2024
1 parent 5a5fb3c commit 93bc401
Show file tree
Hide file tree
Showing 9 changed files with 425 additions and 2,350 deletions.
57 changes: 0 additions & 57 deletions __tests__/get-url-to-download.test.ts

This file was deleted.

46 changes: 0 additions & 46 deletions __tests__/get-version.test.ts

This file was deleted.

22 changes: 0 additions & 22 deletions __tests__/validate.test.ts

This file was deleted.

10 changes: 0 additions & 10 deletions jest.config.mjs

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"test": "jest",
"test": "glob -c \"node --import tsx --no-warnings --test\" \"./tests/**/*.test.ts\"",
"all": "pnpm run format && pnpm run lint && pnpm run build && pnpm test"
},
"repository": {
Expand All @@ -37,16 +37,16 @@
},
"devDependencies": {
"@eslint/js": "^9.12.0",
"@types/glob": "^8.1.0",
"@types/node": "22.7.5",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@vercel/ncc": "^0.38.2",
"eslint": "^8.57.1",
"glob": "^11.0.0",
"globals": "^15.10.0",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.1"
}
Expand Down
Loading

0 comments on commit 93bc401

Please sign in to comment.