Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

npm scripts that set env vars don't run on Windows #167

Closed
@bertday

Description

@bertday

Expected behavior

Running npm run unit should run unit tests.

Actual behavior

On Windows, it fails because the command line doesn't understand how environment variables are being set, e.g.:

NODE_ENV=production mocha test/test.js --slow=5000 --timeout=10000

Steps to reproduce the behavior

Run npm run unit on Windows.

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