-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Proposal : migrate unit test to typescript #826
Conversation
I'm on my phone, so I can't fully review this, but it's probably worth building all jasmine test helpers into their own module. At some point we'll want to publish that for others to use anyhow. |
: Yes, good point. I'll leave this specific PR without updating it to discuss go / no-go first, once it's decided to proceed will update PR accordingly. |
By the way, I think we should make |
: Isn't purpose of |
@staltz If a specific example shouldn't be tested, you can prefix it with |
I'm also happy to add support for Typescript to |
Ok, that's good, I might use it. My case wasn't typescript code, it was Jasmine code, it didn't recognize |
@staltz yell out if you want any help integrating |
: Appreciate for it, let's discuss in further depends on decisions made :) |
@Widdershin let's discuss in #757, so this PR discussion stays on topic. |
@kwonoj Discussion is dead here. While I'd like to move our tests to TypeScript for a variety of reasons, I don't see this particular PR going anywhere. Closing for now, feel free to reopen if you disagree, I'm just cleaning up. |
I think it's ok to close, issue #661 can be used to get conclusion where to start. I own responsibility to wrap up those discussion to which way to go. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Not to be merged since it's for proposal
Related with #661, #667
One of other possibilities of enhancing type definition validation is using unit test instead of having additional test for definition only, as same as other (such as angular 2) does. This PR proposes basic setups of migrating existing test cases into typescript based, to gather opinions to proceed or not.
This PR does
count-spec
) convert it into typescript based. Major difference is importing helper function (hot
,cold
, ...) explicitly instead of using global.cjs
output instead of directly referencing typescript source to reduce build time for test.Travis currently fails by
markdown-doctest
is not updated with this changes.