Jurgen Van de Moere
Jurgen Van de Moere
As explained by @Ocombe in [Angular Air episode 43](https://www.youtube.com/watch?v=OCLzt0a53Uw): currently setting up testing is a bit hacky and only Jasmine is supported. Should we wait till the Angular team comes...
> I'll try to write an article on testing with ng2 next week, that might help @ocombe — Thank you, that would be great!
@NathanWalker, @ocombe: I once write a plunk for Angular 1.x that made it possible to write unit tests in Plnkr: http://plnkr.co/edit/IwQx9y7VdN7SiDeawVSC It would be great if we could have something...
@Ocombe — Awesome, that would be great as a starting point. Will try to find it. Feel free to post a link here if you find it. Thanks!!
Jason's talk is now available at https://www.youtube.com/watch?v=unICbsPGFIA. @ocombe — Thank you for sharing your thoughts 👍
@kktam — No, currently only jest is implemented. Karma + jasmine have not been added yet. Thanks!
@BioPhoton — Nice catch, thank you! Would you be interested in creating a PR to fix this? I don't think we should worry about the double quotes., because the `tslint.json`...
@franzeal — Thank you for the additional tests, much appreciated!
Quick update: this regex is used in the Angular SystemJS loader: `/templateUrl\s*:(\s*['"`](.*?)['"`]\s*)/gm` https://github.com/angular/angular/blob/061475402c26759a2d7c0840b99507320c3dffc4/aio/tools/examples/shared/boilerplate/src/systemjs-angular-loader.js#L1 It looks like this could work if we could first filter out comments. What are your thoughts?...
@crossRT — Is your code available on GitHub? Thanks!