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

Updated package.json #66

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

Conversation

Sam-Nadar
Copy link

Closes #65
Updated package.json for the scripts to run.
Just added the word "node " in front(or in beginning of the path) of the path and it works now

Updated package.json for the scripts to run properly.
Just  added the word "node " in front(or in beginning of the path) of the path
@Himanshu-holmes
Copy link

well you have done a nice work but also you can test by running these npx jest ./tests/authenticationServer.test.jsinstead of npm run test-authenticationServer and npx jest ./tests/fileServer.test.js instead of npm run test-fileServer and npx jest ./tests/todoServer.test.js instead of npm run test-todoServer respectively to test those assignment

command in terminal

@Sam-Nadar
Copy link
Author

I didn't know what you said above. Thanks for sharing bro!

@JeraldRoyJ18
Copy link

bro for me its still not working like i tried adding node infront of the path as well as running the script using jest as told in the first comment by Sam-Nadar . In both the cases when i run the command its starts the execution of the test file and hangs there to the infinite amount of time.

@Himanshu-holmes
Copy link

bro for me its still not working like i tried adding node infront of the path as well as running the script using jest as told in the first comment by Sam-Nadar . In both the cases when i run the command its starts the execution of the test file and hangs there to the infinite amount of time.

You are not passing the test that's why

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.

Tests are not running when npm run <testname> is put
3 participants