Skip to content

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

Description

@AbhinavMir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions