Fix ENV location in e2e

This commit is contained in:
Aarni Halinen
2019-11-09 19:49:49 +02:00
parent 0fab053418
commit 4d891462fe
+3 -3
View File
@@ -32,9 +32,9 @@
"serve": "node dist/js/server.js",
"start-prod": "npm run build && npm run serve",
"mock-backend": "json-server --watch db.json -H 0.0.0.0 -p 1234",
"test": "API_URL=http://web.sik.party:8000/api npm run test:e2e:verbose",
"test:e2e": " npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test": "npm run test:e2e:verbose",
"test:e2e": "API_URL=http://web.sik.party:8000/api npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:verbose": "API_URL=http://web.sik.party:8000/api npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
"plop": "plop"