-
Notifications
You must be signed in to change notification settings - Fork 11.9k
feat(test): karma integration and unit test sample #69
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
Conversation
{pattern: 'src/test/matchers.js', included: true, watched: true}, | ||
|
||
{pattern: 'dist/**/*.js', included: false, watched: true} | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about source maps? don't you need to serve those too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also I don't see the proxy
configuration to enable component template fetching from tests
Thanks for the feedback @IgorMinar. I totally forgot about the source maps. I'll add them and fix the other issues to get this merged. Todo:
|
55550a9
to
0ed045f
Compare
@IgorMinar I think that all the comments were addressed. One thing that is still missing though is the ability to run the tests using |
0ed045f
to
d9194b6
Compare
|
} | ||
}); | ||
|
||
System.import('angular2/src/core/dom/browser_adapter').then(function(browser_adapter) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a todo comment that once beta is out we should change this code to use a "test platform".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
left a few comments. the rest looks good. can you please fix the issues and merge the PR into master? (I'll make sure you have commit rights). No merge commits please. Use rebase/fast-forward merges. |
ee712d3
to
7f7b308
Compare
7f7b308
to
9a55291
Compare
OK. Just waiting for the commit rights. |
check email. you should have an invite. On Wed, Nov 25, 2015 at 4:33 PM Ciro Nunes notifications@github.com wrote:
|
Landed as 4afd815 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
/cc @IgorMinar