init jest

This commit is contained in:
grinikita
2025-01-11 12:48:49 +03:00
parent 90992b087f
commit e6ee09691e
6 changed files with 4435 additions and 4 deletions
+4 -1
View File
@@ -3,7 +3,7 @@
"version": "0.1.0",
"main": "./src/index.tsx",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest",
"start": "brojs server --port=8099 --with-open-browser",
"build": "npm run clean && brojs build --dev",
"build:prod": "npm run clean && brojs build",
@@ -29,6 +29,7 @@
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/webpack-env": "^1.18.5",
@@ -39,6 +40,8 @@
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"globals": "^15.12.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"typescript-eslint": "^8.13.0"
}
}