If a test written in TypeScript is saved with the code not compiling, it causes the window containing the test to crash, and the main Cypress window to show the following:
This does not occur with JavaScript files left in an invalid state.
Desired behavior:
TypeScript files with invalid code should be handled in same way as JavaScript files are, i.e. the window containing the test should be left open, and an explanatory message should be shown, e.g.
Current behavior:
If a test written in TypeScript is saved with the code not compiling, it causes the window containing the test to crash, and the main Cypress window to show the following:
This does not occur with JavaScript files left in an invalid state.
Desired behavior:
TypeScript files with invalid code should be handled in same way as JavaScript files are, i.e. the window containing the test should be left open, and an explanatory message should be shown, e.g.
Steps to reproduce: (app code and test code)
A repo with instructions on how to reproduce is available here: https://github.com/yonigibbs/cypress-typescript-crash
Versions