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
transpiler: Improve transpiler tests #25
Comments
For specs that should run only in Dart: use the .dart suffix and write them On Monday, September 29, 2014, Victor Berchet notifications@github.com
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Co-authored-by: Alejandro Lora <alejandrofpo@gmail.com> Co-authored-by: Pato <11162114+devpato@users.noreply.github.com> Co-authored-by: José de Jesús Amaya <impepedev@gmail.com> Closes angular#25
As today we test the transpiler by running the spec in JS and Dart. While this is a good start, there is room for improvement.
Asserting that some code snippets fail (with a given error message) could also really help improving the test suite.
An example could be for the generation of const constructor: in Dart such constructor could not have a body (it can only have an initializer list). Asserting that this case fails with a comprehensible error message would be really helpful.
The text was updated successfully, but these errors were encountered: