add test ci script
This commit is contained in:
11
package.json
11
package.json
@@ -37,7 +37,8 @@
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"deploy": "npm run build && firebase deploy",
|
||||
"coverage": "react-scripts test --coverage"
|
||||
"coverage": "react-scripts test --coverage",
|
||||
"test-ci": "jest --testPathIgnorePatterns=src/tests/ --passWithNoTests --ci --bail"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
@@ -58,7 +59,13 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.23.7",
|
||||
"@babel/preset-env": "^7.23.8",
|
||||
"@babel/preset-react": "^7.23.3",
|
||||
"@babel/preset-typescript": "^7.23.3",
|
||||
"csv-parser": "^3.0.0",
|
||||
"html-pdf-node": "^1.0.8"
|
||||
"html-pdf-node": "^1.0.8",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"ts-jest": "^29.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user