-
Notifications
You must be signed in to change notification settings - Fork 135
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
Why do we need to wrap tests in main() function? #65
Comments
Hey, Apologies in the delay getting back to you, I'm travelling atm. This project is basically a fork of Angular 2 Seed I had always assumed this came from Karma, but I cant find a reference to it anywhere other than Angular 2 Seed. After a solid half hour of googling I can't figure it out. Have asked in gitter hopefully someone will get back to me. Cheers, |
The maintainer @mgechev got back to me:
The logic (invoking main) is in the very first commit. I appreciate I haven't really answered your question. I guess you'll need to raise an issue against angular (or maybe you can figure it out from the history, I can't). I try to keep this project in line with Angular 2 Seed as much as possible as that project is very heavily maintained and it makes my life easier porting new features over. If you get an answer let me know. |
Hi and thanks for the great guide.
Not really an issue as much as a question. Is there a particular reason why we need to wrap tests in main() function?
test-main.js
It just feels weird.
The text was updated successfully, but these errors were encountered: