-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add use of cypress #12
Conversation
knexfile.js
Outdated
@@ -7,7 +7,8 @@ const { | |||
DB_USER, | |||
DB_PASSWORD, | |||
DB_HOST, | |||
DB_PORT | |||
DB_PORT, | |||
DATABASE2 |
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.
What is DATABASE2?
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.
Its supposed to be the testing database, I'm not sure if I should do TESTDB and TESTDB
package.json
Outdated
@@ -5,6 +5,8 @@ | |||
"scripts": { | |||
"start": "node -r dotenv/config ./bin/www --env=production", | |||
"dev": "DEBUG=* nodemon -r dotenv/config ./bin/www", | |||
"test": "node -r dotenv/config ./node_modules/.bin/cypress run --env ENVIRONMENT=test", | |||
"test:cli": "node -r dotenv/config ./node_modules/.bin/cypress open --env ENVIRONMENT=test", |
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 test:interactive
or something to that effect would be more appropriate here than test:cli
.
No description provided.