Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants