add Jest configuration for node-based testing

This commit is contained in:
bkmartinjr
2018-08-04 13:03:43 -07:00
parent 993057b79c
commit a39e0c79a6
+4 -5
View File
@@ -4,10 +4,8 @@
"license": "MIT",
"repository": "https://github.com/chanzuckerberg/cellxgene",
"scripts": {
"build":
"npm run clean && webpack --config configuration/webpack/webpack.config.prod.js",
"dev":
"npm run clean && webpack --config configuration/webpack/webpack.config.dev.js",
"build": "npm run clean && webpack --config configuration/webpack/webpack.config.prod.js",
"dev": "npm run clean && webpack --config configuration/webpack/webpack.config.dev.js",
"clean": "rimraf build",
"start": "node server/development.js",
"lint": "eslint src",
@@ -117,6 +115,7 @@
"jest": {
"testMatch": [
"**/__tests__/**/?(*.)(spec|test).js?(x)"
]
],
"testURL": "http://localhost/"
}
}