Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For npm test command all tests are running two times #334

Closed
SwinX opened this issue Aug 24, 2015 · 1 comment · Fixed by #336
Closed

For npm test command all tests are running two times #334

SwinX opened this issue Aug 24, 2015 · 1 comment · Fixed by #336
Assignees
Milestone

Comments

@SwinX
Copy link
Contributor

SwinX commented Aug 24, 2015

After switching to istanbul mocka.opts file was added to tests root dir.
npm test command has following inside: npm run jshint && npm run check-style && npm run func-test && npm run unit-test, where
npm run func-test is npm run build-sample-proj && mocha -u bdd -R spec --recursive test/func and
npm run unit-test is mocha -u bdd -R spec --recursive test/lib
Seems this commands are ignoring paths where mocka tests should be executed and take exec dir from mocka.opts

As possible solution separate func-test and unit-tests scripts may be deprecated. The only left is test which contain something like
npm run jshint && npm run check-style && npm run build-sample-proj && mocha

@SwinX
Copy link
Contributor Author

SwinX commented Aug 24, 2015

/cc @j0tunn @blond

@SwinX SwinX self-assigned this Aug 24, 2015
@SwinX SwinX added the review label Aug 24, 2015
@blond blond removed the review label Aug 24, 2015
@blond blond modified the milestone: 1.0 Sep 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants