ng2-ts-hello
ng2-ts-hello copied to clipboard
How to write tests?
Thanks for the initiative! I'd love to discover a good workflow to do TDD in Angular2 typescript. Can you add an example?
I've had some success using karma/jasmine/gulp to do TDD w/ TypeScript. Let me know if you'd like to see a boilerplate repo I have, maybe I can modify it and submit a PR.
@johnjelinek I'd love to see a boilerplate! Wouldn't ask you to submit a PR—unless you feel like doing it—because I'm just starting learning about it.
Can you show me the boilerplate?
My boilerplate relies on tsc
through gulp to transpile the JS to ES5 and karma just tests normal ES5 code. The tests and source are written in typescript though. I'm deciding if it's valuable to have a client-side transpiled version using the latest SystemJS w/ typescript client transpilation.
I would be happy to see that boilerplate. Thanks
OK, I'll get it ready to be published. I'll see if I can upgrade the version of ng2 too.
— Sent from Mailbox
On Thu, Sep 10, 2015 at 6:10 AM, Dan [email protected] wrote:
I would be happy to see that boilerplate.
Thanks
Reply to this email directly or view it on GitHub: https://github.com/rkirov/ng2-ts-hello/issues/4#issuecomment-139205123