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

Add some simple tests to demonstrate testing directives and components #128

Merged
merged 1 commit into from
Nov 11, 2015
Merged

Add some simple tests to demonstrate testing directives and components #128

merged 1 commit into from
Nov 11, 2015

Conversation

dotcs
Copy link
Contributor

@dotcs dotcs commented Nov 11, 2015

I have followed the discussion in #124 and got tests up and running. I have added some simple tests for directives and components. This should be a good starting point for adding more tests that demonstrate also tests of other facets of ng2.

@PatrickJS
Copy link
Owner

amazing! thanks

PatrickJS added a commit that referenced this pull request Nov 11, 2015
Add some simple tests to demonstrate testing directives and components
@PatrickJS PatrickJS merged commit b3065e0 into PatrickJS:master Nov 11, 2015
// Select BrowserDomAdapter.
// see https://github.com/AngularClass/angular2-webpack-starter/issues/124
var domAdapter = require('angular2/src/core/dom/browser_adapter').BrowserDomAdapter;
domAdapter.makeCurrent();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we can move this spec.bundle.js?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, see #129

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

Successfully merging this pull request may close these issues.

2 participants