Skip to content

node environment support #397

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

Closed
wagerfield opened this issue Jan 31, 2018 · 3 comments
Closed

node environment support #397

wagerfield opened this issue Jan 31, 2018 · 3 comments

Comments

@wagerfield
Copy link

I just posted an issue in the vue-test-utils-jest-example repo about this, but I think it needs flagging here also.

When setting the jest environment to node the following error is thrown:

[vue-test-utils]: window is undefined, vue-test-utils needs to be run in a browser environment.
You can run the tests in node using jsdom + jsdom-global.
See https://vue-test-utils.vuejs.org/en/guides/common-tips.html for more details.

For a use case for when it might be important to test vue components in a node environment, please see the issue referenced above.

@vue-bot
Copy link

vue-bot commented Jan 31, 2018

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this as completed Jan 31, 2018
@husayt
Copy link

husayt commented Feb 16, 2018

We have the following problem. Has this been resolved?

@eddyerburgh
Copy link
Member

Not yet, no —#427

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

4 participants