London | 25-ITP-Sep |Imran Mohamed | Sprint 1 | Sprint-1 exercises #802
Closed
i786m wants to merge 8 commits intoCodeYourFuture:mainfrom
Closed
London | 25-ITP-Sep |Imran Mohamed | Sprint 1 | Sprint-1 exercises #802i786m wants to merge 8 commits intoCodeYourFuture:mainfrom
i786m wants to merge 8 commits intoCodeYourFuture:mainfrom
Conversation
Author
cjyuan
reviewed
Nov 8, 2025
Contributor
|
Have you installed Jest first? To install Jest, in a terminal, run Only after that you can run Jest test. |
Contributor
|
Changes look good. |
Author
Contributor
|
I don't know how to use the Jest extension in VSCode. For examples,
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Self checklist
Changelist
I have implemented the various functions and the associated tests for the functions.
Questions
The instructions for sprint 1 say that the npm install should be run within the sprint 1 folder but when I attempt to use the Testing tab on vscode I am unable to run the tests from within and the output indicates the tests fail to run as it seems to be looking in the root folder for the node module for jest. I was able to run the tests using npm test however the testing functionality afforded by vscode was diminished by that. Could there be a better way of doing this?