Skip to content

Commit

Permalink
fix: use SYNPRESS_LOCAL_TEST var in local tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Mucha <[email protected]>
  • Loading branch information
drptbl committed Apr 6, 2022
1 parent 827f976 commit ced5311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"release:patch": "release-it patch --disable-metrics",
"update:deps": "ncu -u && npm install --legacy-peer-deps",
"start:server": "serve tests/test-dapp -p 3000",
"test:e2e": "start-server-and-test 'npm run start:server' http-get://localhost:3000 'node synpress.js run --configFile=tests/e2e/config.json --config='fixturesFolder=fixtures,pluginsFile=plugins/index.js,supportFile=support/index.js''",
"test:e2e:ci": "start-server-and-test 'npm run start:server' http-get://localhost:3000 'node synpress.js run --group smoke-tests --record --configFile=tests/e2e/config.json --config='fixturesFolder=fixtures,pluginsFile=plugins/index.js,supportFile=support/index.js''"
"test:e2e": "start-server-and-test 'npm run start:server' http-get://localhost:3000 'SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=tests/e2e/config.json'",
"test:e2e:ci": "start-server-and-test 'npm run start:server' http-get://localhost:3000 'SYNPRESS_LOCAL_TEST=true node synpress.js run --group smoke-tests --record'"
},
"dependencies": {
"@cypress/code-coverage": "3.9.12",
Expand Down

0 comments on commit ced5311

Please sign in to comment.