Skip to content

Commit

Permalink
feat(integration-test-runner): Add Cypress
Browse files Browse the repository at this point in the history
(empty) cypress.json is required for cypress.run
Add it the project root on project creation
  • Loading branch information
michaelw85 committed Feb 18, 2019
1 parent 77c6f60 commit 4b5919a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ module.exports = function(project) {
.addToDevDependencies('cypress')
.addToContent(
ProjectItem.resource('cypress.config.js', 'content/cypress.config.js'),
ProjectItem.resource('cypress.json', 'content/cypress.json'),
project.tests.add(project.e2eTests.add(...testDirResources))
);
};
1 change: 1 addition & 0 deletions lib/resources/content/cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit 4b5919a

Please sign in to comment.