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

handle server-only tests #108

Merged
merged 2 commits into from
Jun 10, 2021
Merged

handle server-only tests #108

merged 2 commits into from
Jun 10, 2021

Conversation

Timi-Duban
Copy link
Collaborator

Add server-side tests.
To do so, just name your test file [name].server.test.[ext] and Jest will automatically run it using node instead of jsdom.

Closes #85

@eric-burel
Copy link
Collaborator

Nice! Same question than for Next, can you check that there is no server only test? I guess in the "VN" unit tests, there might be some like testing the mongo connection.

@eric-burel eric-burel merged commit bad19a3 into VulcanJS:devel Jun 10, 2021
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 this pull request may close these issues.

Handle server-only tests cleanly with Jest projects
2 participants