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

Separate Client from Server Unit Tests (enhancement) #88

Open
Nomeasmo opened this issue Oct 18, 2013 · 1 comment
Open

Separate Client from Server Unit Tests (enhancement) #88

Nomeasmo opened this issue Oct 18, 2013 · 1 comment

Comments

@Nomeasmo
Copy link
Contributor

Mixing client and server scripts together is not the common Meteor behavior.

I can workaround it, but it is not as fluent as desired.

Use case:
Winston is a pure server module. So create a small Winston on the client as well and pass the arguments down to the server is desired.

In this case the Winston stub gets overwritten by the client implementation, since unit directories are loaded by karma first.

@samhatoum
Copy link
Member

Interesting idea. I've been thinking to run server unit tests using jasmine-node, and for browser tests to run in phantom/chrome to be more realistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants