mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 02:38:12 +08:00
add Jest configuration for node-based testing
This commit is contained in:
+4
-5
@@ -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/"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user