Skip to content

The default npm test script does not work on windows #19

@cjhoward92

Description

@cjhoward92

The syntax for the npm test script is invalid on windows, and therefore cannot run. There needs to be a different means of referencing the jasmine-node package in

"test": "npm run eslint && npm run compile && node_modules/.bin/jasmine-node build/spec/tests"

since windows is not smart enough to look for the exe or script via the relative path. You will get an error that reads

'node_modules' is not recognized as an internal or external command

Wrapping the command in double quotes fixes the issue on windows.

"node_modules/.bin/jasmine-node" build/spec/tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions