-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for issue #622 (Unable to run tests on Windows) #623
Fix for issue #622 (Unable to run tests on Windows) #623
Conversation
Fixes issue #623. |
You have some conflicts :) |
Sorry for that, will try to resolve this come weekend! |
a2eeae4
to
e545392
Compare
e545392
to
6a4bf8e
Compare
Ok I updated this, please don't wait another three months or I will have to do another update in in Feb. 😉 |
"cypress:ci": "cypress run --record --group --ci-build-id $GITHUB_SHA", | ||
"test": "run-s test:unit test:e2e", | ||
"test:unit": "mocha", | ||
"test:unit:watch": "mocha --watch --inspect=5556", | ||
"test:e2e": "run-p --race start cypress:run", | ||
"js:watch": "NODE_ENV=development node server.js", | ||
"js:watch": "cross-env NODE_ENV=development node server.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just can remove NODE_ENV=development
everywhere in the package.json
. The server.js
actually checks NODE_ENV !== 'production'
, so, undefined will works as well as development
here.
PS: If you also can add NODE_ENV: production
to the cypress.yml
action env as part of removing this - that will be 💯
@sebastianhaberey #700 introduced more env, please rebase to current master |
haha, i'm sorry!! 🤦♂ |
Is this fix still required? (Sorry, I don't use Windows) |
And cypress launch scripts do need to have prefix removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments above
Superseded by #784 - thanks 👍 |
Description
Amended several commands in package.json for Windows
Updated travis.yml according to cypress docs (see https://docs.cypress.io/guides/guides/continuous-integration.html#Travis)apparently we're not using Travis anymore