mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 03:50:55 +00:00
test: write test in JavaScript (#108)
* test: map imported module from the distribution files * chore: remove @jest/globals, @types/jest, and ts-jest from dependencies * test: modify test files to JavaScript * test: remove `testMatch` option in Jest (redundant) * build: remove `tsconfig.eslint.json` * ci(test): set `--experimental-vm-modules` only on `Test Package` step instead
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"bundle": "tsc && ncc build dist/main.mjs -o main",
|
||||
"check": "sort-package-json && prettier --write . !main !README.md && eslint src",
|
||||
"test": "jest"
|
||||
"test": "tsc && jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
@@ -13,8 +13,6 @@
|
||||
"@actions/io": "^1.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/globals": "^29.7.0",
|
||||
"@types/jest": "^29.5.10",
|
||||
"@types/node": "^20.10.4",
|
||||
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
||||
"@typescript-eslint/parser": "^6.13.2",
|
||||
@@ -25,7 +23,6 @@
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.1.0",
|
||||
"sort-package-json": "^2.6.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"packageManager": "yarn@4.0.2"
|
||||
|
||||
Reference in New Issue
Block a user