-
Notifications
You must be signed in to change notification settings - Fork 7
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
base: main
Are you sure you want to change the base?
Convert to jest #12
Conversation
@@ -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. |
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 made just the necessary text changes to documentation.
@@ -0,0 +1,192 @@ | |||
/* |
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.
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": "*" |
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.
The version number here is not necessary and adds an additional step during upgrades.
this is awesome, thank you!! do the test themselves need any conversion? |
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. |
Techtonica/curriculum#1572