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

Convert to jest #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Convert to jest #12

wants to merge 2 commits into from

Conversation

ndp
Copy link
Contributor

@ndp ndp commented Jun 21, 2021

@@ -46,4 +46,4 @@ Welcome to your daily practice challenge! You only need to do one challenge per

### Technology

This project uses Jasmine to test JavaScript files.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made just the necessary text changes to documentation.

@@ -0,0 +1,192 @@
/*
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the standard jest config file, with a slight change to line 150, where the file matching is done.

"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"jasmine": "^3.6.3"
"jest": "*"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The version number here is not necessary and adds an additional step during upgrades.

@alodahl
Copy link
Contributor

alodahl commented Jun 22, 2021

this is awesome, thank you!! do the test themselves need any conversion?

@alodahl
Copy link
Contributor

alodahl commented Jun 24, 2021

Just tested it, I'm gonna say they need conversion. Would you like to do this part yourself? If not, I can make a jest branch, and another card that addresses the remaining issues.

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