Skip to content

Cannot run tests on Windows (PowerShell) #17

@Download

Description

@Download
PS C:\ws\versioned-api> npm test

> versioned2@0.0.1 test C:\ws\versioned-api
> npm run lint && npm run unit-test && bin/check-deps && npm run api-test


> versioned2@0.0.1 lint C:\ws\versioned-api
> $(npm bin)/eslint {test/api,app,lib}

'$' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! versioned2@0.0.1 lint: `$(npm bin)/eslint {test/api,app,lib}`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the versioned2@0.0.1 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\stijn\AppData\Roaming\npm-cache\_logs\2021-07-24T16_23_44_100Z-debug.log
npm ERR! Test failed.  See above for more details.

I need to be able to run tests so I can make PRs for this project.
So this will be my first PR I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions