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

Cant run tests on windows #160

Closed
vincaslt opened this issue Nov 24, 2016 · 9 comments
Closed

Cant run tests on windows #160

vincaslt opened this issue Nov 24, 2016 · 9 comments

Comments

@vincaslt
Copy link

Running yarn test I am getting an error saying that NODE_ENV is not recognized as a command. The line which is being run: NODE_ENV=test babel-node node_modules/.bin/isparta cover _mocha -- --ui bdd --reporter spec --colors --compilers js:babel-core/register ./server/**/*.test.js

@wassimz
Copy link

wassimz commented Nov 24, 2016

Same issue as here #151

@vincaslt
Copy link
Author

I've changed the line to set NODE_ENV=test node_modules/.bin/babel-node node_modules/.bin/isparta cover _mocha -- --ui bdd --reporter spec --colors --compilers js:babel-core/register ./server/**/*.test.js

Which now runs on windows, but it only says Executed in 0.07s and no output...

@kunalkapadia
Copy link
Owner

@vincaslt @wassimz I'll set up appveyor for testing on Windows #161
Please let me know you guys want to contribute to the same.

@wassimz
Copy link

wassimz commented Nov 27, 2016

@kunalkapadia

It's fine for me.

@wassimz
Copy link

wassimz commented Dec 6, 2016

@vincaslt
You have missed to add the "&&" after "set NODE_ENV=test"

@Altiano
Copy link

Altiano commented Dec 12, 2016

@wassimz I get this error then
image

@wassimz
Copy link

wassimz commented Dec 12, 2016

@Altiano
Yes this is the same error we got when running test on windows environment

@delsner
Copy link
Contributor

delsner commented Dec 27, 2016

I created a PR #205 which should fix the issue

@kunalkapadia
Copy link
Owner

@vincaslt @wassimz @Altiano @wassimz Closing this.

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

No branches or pull requests

5 participants