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
25 lines
568 B
YAML
25 lines
568 B
YAML
- paragraph: tc=create-ts-errors
|
|
- paragraph: This will get a TypeScript error.
|
|
- img
|
|
- text: bad-file.ts
|
|
- img
|
|
- text: "src/bad-file.ts Summary: This will get a TypeScript error."
|
|
- paragraph: EOM
|
|
- img
|
|
- text: Auto-fix2 problems
|
|
- img
|
|
- img
|
|
- text: bad-file.ts
|
|
- img
|
|
- text: "src/bad-file.ts Summary: Fix 2 errors and introduce a new error."
|
|
- paragraph: "[[dyad-dump-path=*]]"
|
|
- img
|
|
- text: Auto-fix1 problems
|
|
- img
|
|
- img
|
|
- text: bad-file.ts
|
|
- img
|
|
- text: "src/bad-file.ts Summary: Fix remaining error."
|
|
- paragraph: "[[dyad-dump-path=*]]"
|
|
- button "Retry":
|
|
- img |