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

Check if there is a server before shutting it down #1352

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

mupkoo
Copy link
Contributor

@mupkoo mupkoo commented Jul 27, 2018

In one of our test cases, the afterEach cases is called, when there is no server defined, which results in an error and in the case of mocha this cause the whole test suite to fail. Although this is most probably a problem there, I think that it is worth having this simple check here as well.

@mupkoo
Copy link
Contributor Author

mupkoo commented Jul 27, 2018

Looks like Travis is failing, because of yarn

@samselikoff samselikoff merged commit 8a0ef54 into miragejs:master Jul 27, 2018
@mupkoo mupkoo deleted the safe-shutdown branch July 27, 2018 19:55
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.

None yet

2 participants