Skip to content

Commit

Permalink
add command to use dynamic port before running tests (#150)
Browse files Browse the repository at this point in the history
* add command to use dynamic port before running tests

* move env variable

* replace port by itself
  • Loading branch information
bahmutov authored Nov 7, 2018
1 parent 14efeea commit aabb10c
Show file tree
Hide file tree
Showing 5 changed files with 1,247 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"standard.enable": false,
"eslint.enable": true
"eslint.enable": true,
"typescript.surveys.enabled": false
}
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"scripts": {
"test-setup": "CYPRESS_CACHE_FOLDER=./node_modules/cypress/cache/Cypress npx cypress cache path && CYPRESS_CACHE_FOLDER=./node_modules/cypress/cache/Cypress npx cypress cache list",
"test": "CYPRESS_CACHE_FOLDER=./node_modules/cypress/cache/Cypress npm run test:ci:record"
"test": "npm run ci:set-port && CYPRESS_CACHE_FOLDER=./node_modules/cypress/cache/Cypress npm run test:ci:record"
}
}
}
Expand Down
Loading

0 comments on commit aabb10c

Please sign in to comment.