Skip to content

Commit

Permalink
chore: Reorganize test files and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoffan committed Jan 3, 2019
1 parent eaa1cf9 commit 7fb0c34
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 8 deletions.
13 changes: 13 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"baseUrl": "http://localhost:6060/#",
"fileServerFolder": "test",
"fixturesFolder": "test/fixtures",
"integrationFolder": "test/integration",
"pluginsFile": "test/plugins/index.js",
"screenshotsFolder": "test/screenshots",
"supportFile": "test/support/index.js",
"video": false,
"videosFolder": "test/videos",
"viewportHeight": 1260,
"viewportWidth": 1600
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"build:prod:npm": "BABEL_ENV=production OUTPUT=dist LANGUAGE=en-US REACT=true yarn build:prod:dist",
"clean": "rm -rf dist lib i18n/json i18n/*.js reports styleguide",
"copy:styles": "cpx './src/**/*.scss' lib",
"cy:open": "yarn cy:wait; cypress open --project ./test",
"cy:run": "yarn cy:wait; cypress run --project ./test --spec test/cypress/**/*.test.js",
"cy:open": "yarn cy:wait; cypress open",
"cy:run": "yarn cy:wait; cypress run --spec test/integration/**/*.test.js",
"cy:wait": "wait-on tcp:6060",
"lint": "npm-run-all lint:*",
"lint:js": "eslint --max-warnings=0 .",
Expand Down
File renamed without changes.
6 changes: 0 additions & 6 deletions test/cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7fb0c34

Please sign in to comment.