Test cases: - [x] create-ts-errors - [x] with auto-fix - [x] without auto-fix - [x] create-unfixable-ts-errors - [x] manually edit file & click recheck - [x] fix all - [x] delete and rename case THINGS - [x] error handling for checkProblems isn't working as expected - [x] make sure it works for both default templates (add tests) - [x] fix bad animation - [x] change file context (prompt/files) IF everything passes in Windows AND defensive try catch... then enable by default - [x] enable auto-fix by default
23 lines
798 B
YAML
23 lines
798 B
YAML
- img
|
|
- text: Auto-fix5 problems
|
|
- img
|
|
- text: "1"
|
|
- img
|
|
- text: /src\/bad-file\.ts 1:\d+ TS2307/
|
|
- paragraph: Cannot find module 'non-existent-class' or its corresponding type declarations.
|
|
- text: "2"
|
|
- img
|
|
- text: /src\/bad-file\.ts 2:\d+ TS2307/
|
|
- paragraph: Cannot find module 'non-existent-class' or its corresponding type declarations.
|
|
- text: "3"
|
|
- img
|
|
- text: /src\/bad-file\.ts 3:\d+ TS2307/
|
|
- paragraph: Cannot find module 'non-existent-class' or its corresponding type declarations.
|
|
- text: "4"
|
|
- img
|
|
- text: /src\/bad-file\.ts 4:\d+ TS2307/
|
|
- paragraph: Cannot find module 'non-existent-class' or its corresponding type declarations.
|
|
- text: "5"
|
|
- img
|
|
- text: /src\/bad-file\.ts 5:\d+ TS2307/
|
|
- paragraph: Cannot find module 'non-existent-class' or its corresponding type declarations. |