Skip to content
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

Merged
merged 7 commits into from
Nov 19, 2020
Merged

Add use of cypress #12

merged 7 commits into from
Nov 19, 2020

Conversation

Jorbreezy
Copy link
Owner

No description provided.

knexfile.js Outdated
@@ -7,7 +7,8 @@ const {
DB_USER,
DB_PASSWORD,
DB_HOST,
DB_PORT
DB_PORT,
DATABASE2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is DATABASE2?

Copy link
Owner Author

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",

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.

@Jorbreezy Jorbreezy merged commit 91c04b4 into main Nov 19, 2020
@Jorbreezy Jorbreezy deleted the add-use-of-cypress branch November 20, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants