Skip to content

Commit 6407a5b

Browse files
committed
test: fix test case issue.
1 parent a85a164 commit 6407a5b

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

package.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "keycode-info",
33
"homepage": "https://uiwjs.github.io/keycode-info",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"description": "A simple web page that responds to the pressed key and returns information about the JavaScript'on-key press' key.",
66
"private": true,
77
"scripts": {
88
"prepare": "husky install",
99
"start": "kkt start",
1010
"build": "kkt build",
11-
"test": "kkt test --env=jsdom",
12-
"coverage": "kkt test --env=jsdom --coverage --bail",
11+
"test": "tsbb test --env=jsdom",
12+
"coverage": "tsbb test --env=jsdom --coverage --bail",
1313
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'"
1414
},
1515
"repository": {
@@ -18,9 +18,9 @@
1818
},
1919
"license": "MIT",
2020
"dependencies": {
21-
"@uiw/react-json-view": "^1.0.0",
2221
"@uiw/react-copy-to-clipboard": "^4.21.28",
2322
"@uiw/react-github-corners": "^1.5.15",
23+
"@uiw/react-json-view": "^1.0.0",
2424
"@wcj/dark-mode": "^1.0.15",
2525
"react": "^18.2.0",
2626
"react-dom": "^18.2.0"
@@ -30,9 +30,11 @@
3030
"@types/react": "^18.2.13",
3131
"@types/react-dom": "^18.2.6",
3232
"husky": "^8.0.3",
33+
"jest-environment-jsdom": "^29.5.0",
3334
"kkt": "7.5.1",
3435
"lint-staged": "^13.2.2",
35-
"prettier": "^2.8.8"
36+
"prettier": "^2.8.8",
37+
"tsbb": "^4.1.12"
3638
},
3739
"lint-staged": {
3840
"*.{js,jsx,tsx,ts,less,md,json}": [
@@ -54,12 +56,6 @@
5456
"<rootDir>/node_modules/?!(.*)"
5557
]
5658
},
57-
"eslintConfig": {
58-
"extends": [
59-
"react-app",
60-
"react-app/jest"
61-
]
62-
},
6359
"browserslist": {
6460
"production": [
6561
">0.2%",

0 commit comments

Comments
 (0)