-
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
Test suite doesn't tsc type-check #3411
Comments
@david-driscoll is working on this. #3329 . I've accidentally closed #3020 . |
cool. let's keep this issue open or reopen 3020 and close this as dupe. thanks! |
I think we can use this one until it's resolved, #3020 doesn't have additional detail specifically worth to reopen. |
I can't cope any longer with the test suite's not being type checked. I see that #3329 has been closed:
I'm going to start work on an incremental approach now. Unless anyone has objections, I plan on doing the following:
Once the test suite is again type checked, I'd like to extend the type tests to include snippet-based testing, as discussed here and as done here. |
👍 Let me know if you have any questions. I had worked in a bunch of changes before there were some large refactors. Interestingly most of the required changes to fix the type checking (and enhance the typings themselves) usually boiled down to some simply regex replace with a little bit of manual clean up. |
It seems Microsoft have come through with the goods and built a tool for testing type expectations and errors. This looks like it will be pretty useful: Microsoft/dtslint I intend to look into integrating this once the test suite is type checked. |
And remove temporary scripts and config, etc. Closes ReactiveX#3411
The current test suite under
spec/
is being transpiled to JS and executed, but no type-checking is currently being enforced. As a result of that, lots of typing errors have been introduced into the test suite.Repro:
Expected: no type errors
Actual: lots and lots of errors
Once this problem is resolved, the tsc typecheck should be added to the CI suite so that we can avoid introduction of new errors in future commits.
The text was updated successfully, but these errors were encountered: