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

Demo readmes should be of the template npm run-script test-demo -- demos/<FOLDER>/, but it is appended with test.js #250

Open
AbhinavMir opened this issue Nov 11, 2023 · 0 comments

Comments

@AbhinavMir
Copy link
Contributor

AbhinavMir commented Nov 11, 2023

Since run-test.sh already has the following line, ./node_modules/.bin/mocha --full-trace --reporter spec ${TESTDIR}/test.js, writing a test line such as in this readme seems redundant. I could be wrong, but running just npm run-script test-demo -- demos/sum works for me, while npm run-script test-demo -- demos/sum/test.js errors out.

Could fix this in a PR, if this is a legit issue!

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant