test: remove testing using Jest

This commit is contained in:
Alfi Maulana 2024-02-14 21:11:58 +07:00
parent 227729b9b6
commit d9d5f5bffe
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4
6 changed files with 17 additions and 2322 deletions

View File

@ -19,12 +19,6 @@
"tsdoc/syntax": "error"
}
},
{
"files": ["**/*.test.*"],
"env": {
"jest": true
}
},
{
"files": ["package.json"],
"plugins": ["json-files"],

1
.gitignore vendored
View File

@ -4,7 +4,6 @@
!.yarnrc.yml
build/
coverage/
node_modules/
src/**/*.mjs

View File

@ -1,11 +0,0 @@
{
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}

View File

@ -4,8 +4,7 @@
"scripts": {
"build": "tsc && ncc build src/index.mjs -o dist",
"format": "prettier --write --cache . !dist !README.md",
"lint": "eslint --ignore-path .gitignore .",
"test": "tsc && jest"
"lint": "eslint --ignore-path .gitignore ."
},
"dependencies": {
"@actions/core": "^1.10.1",
@ -21,7 +20,6 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json-files": "^4.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
},

View File

@ -1 +0,0 @@
test("some test", () => {});

2316
yarn.lock generated

File diff suppressed because it is too large Load Diff