Skip to content

Commit

Permalink
Tests: Adding npm scripts to run e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 23, 2017
1 parent 0aa5be8 commit 8bec9df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ cd "$(dirname "$0")/../"
( ./bin/setup-local-env.sh )

# Run the tests
npx cypress run
npm run test-e2e
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
"test-unit": "jest",
"test-unit:coverage": "jest --coverage",
"test-unit:coverage-ci": "jest --coverage --maxWorkers 1 && codecov",
"test-unit:watch": "jest --watch"
"test-unit:watch": "jest --watch",
"test-e2e": "cypress run",
"test-e2e:watch": "cypress open"
}
}

0 comments on commit 8bec9df

Please sign in to comment.