diff options
Diffstat (limited to 'graphgraph-fe/package.json')
-rw-r--r-- | graphgraph-fe/package.json | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/graphgraph-fe/package.json b/graphgraph-fe/package.json index a124d60..30411b8 100644 --- a/graphgraph-fe/package.json +++ b/graphgraph-fe/package.json @@ -18,8 +18,9 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "test-watch": "react-scripts test --env=jsdom", + "test": "react-scripts test --env=jsdom --watchAll=false --coverage=true --collectCoverageFrom=src/**/*.js --collectCoverageFrom=src/**/*.jsx --collectCoverageFrom=!src/setupTests.js --collectCoverageFrom=!src/index.js --collectCoverageFrom=!src/service_worker.js" }, "eslintConfig": { "extends": "react-app" @@ -37,5 +38,12 @@ "eslint-plugin-node": "^8.0.1", "eslint-plugin-promise": "^4.1.1", "eslint-plugin-standard": "^4.0.0" + }, + "devDependencies": { + "enzyme": "^3.11.0", + "enzyme-adapter-react-16": "^1.15.2", + "enzyme-async-helpers": "^0.9.1", + "fetch-mock-jest": "^1.3.0", + "node-fetch": "^2.6.0" } } |