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
12 lines
394 B
Markdown
12 lines
394 B
Markdown
This should not get fixed
|
|
|
|
<dyad-write path="src/bad-file.ts" description="This will produce 5 TypeScript errors.">
|
|
import NonExistentClass from 'non-existent-class';
|
|
import NonExistentClass2 from 'non-existent-class';
|
|
import NonExistentClass3 from 'non-existent-class';
|
|
import NonExistentClass4 from 'non-existent-class';
|
|
import NonExistentClass5 from 'non-existent-class';
|
|
</dyad-write>
|
|
|
|
EOM
|