Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Use local mocha dependency for tests #226

Merged
merged 1 commit into from
Jul 10, 2016
Merged

Use local mocha dependency for tests #226

merged 1 commit into from
Jul 10, 2016

Conversation

materkel
Copy link
Contributor

@materkel materkel commented Jul 3, 2016

"As of npm@2.0.0, you can use custom arguments when executing scripts. The special option -- is used by getopt to delimit the end of the options. npm will pass all the arguments after the -- directly to your script" - npm docs

so there is no reason to use a global install of mocha anymore, this also comes handy with test/integration servers not having to install mocha as external dependency

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants