Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jul 27, 2020
1 parent 4f53329 commit 261bc18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/setupCypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const params = {
force: argv.force || false
};

/**
* Prepares cypress.json config by reading values from state files and populating necessary variables.
* Pass "--env" to specify from which environment in the ".webiny" folder you want to read.
* Pass "--force" if you want to allow overwriting existing cypress.json config file.
*/
(async () => {
const cypressExampleConfigPath = path.resolve(PROJECT_FOLDER, "example.cypress.json");
const cypressConfigPath = path.resolve(PROJECT_FOLDER, "cypress.json");
Expand Down

0 comments on commit 261bc18

Please sign in to comment.