Smoke tests (#604)

smoke tests
This commit is contained in:
Charlotte Weaver
2019-02-27 15:46:58 -08:00
committed by GitHub
parent 6b33315cbe
commit 2bae696986
11 changed files with 555 additions and 10 deletions
+8 -3
View File
@@ -7,11 +7,14 @@
"scripts": {
"backend-dev": "python3.6 -m venv cellxgene && source cellxgene/bin/activate && yes | pip uninstall cellxgene || true && pip install -e .. && cellxgene launch ",
"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",
"dev": "npm run clean && webpack --config configuration/webpack/webpack.config.dev.js",
"e2e": "jest e2e",
"lint": "eslint src",
"test": "jest"
"smoke-test": "start-server-and-test start-server-for-test :5000 e2e",
"start": "node server/development.js",
"start-server-for-test": "cellxgene launch -p 5000 ../example-dataset/pbmc3k.h5ad",
"unit-test": "jest --testPathIgnorePatterns e2e"
},
"engineStrict": true,
"engines": {
@@ -97,8 +100,10 @@
"jest": "^24.1.0",
"json-loader": "^0.5.4",
"mini-css-extract-plugin": "^0.4.1",
"puppeteer": "^1.12.1",
"rimraf": "^2.6.3",
"serve-favicon": "^2.3.0",
"start-server-and-test": "^1.7.11",
"style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.5",
"url-loader": "^1.1.0",