(es/testing) Test function panics if existing output file has invalid code when UPDATE=1
#10408
Labels
Milestone
UPDATE=1
#10408
Describe the feature
When running something like
UPDATE=1 cargo test
, if an output file already exists for the test, saytest.js
, andtest.js
contains invalid code, e.g.a = <invalid>;
, the test function will panic when trying to parse the expected code. The error should probably be silently ignored ifUPDATE=1
.Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: