|
| 1 | +# FAILING_TESTS |
| 2 | + |
| 3 | +## Type Generator |
| 4 | +- [✅] Type Generator Options: Use unknown instead of any |
| 5 | +- [✅] Type Generator Options: Prefix interface names |
| 6 | +- [✅] Type Generator Options: Generate semicolons based on option |
| 7 | +- [⚠️] Comment Preservation: Top-level comments preserved, property-level comments need work |
| 8 | +- [⚠️] Advanced Type Conversion: Union types with object literals still having comma parsing issues |
| 9 | + |
| 10 | +## Error Handling |
| 11 | +- [✅] Syntax errors are detected and reported. |
| 12 | + |
| 13 | +## Snapshot Tests |
| 14 | +- [✅] Basic types snapshot working correctly. |
| 15 | +- [✅] Game types snapshot working correctly. |
| 16 | + |
| 17 | +## CLI Tools |
| 18 | +- [✅] Convert a single file: Working correctly |
| 19 | +- [✅] Convert a directory: Working |
| 20 | +- [✅] Validate a file: Working |
| 21 | +- [✅] Use config file: Working |
| 22 | + |
| 23 | +## Plugins |
| 24 | +- [✅] Plugin system: Basic plugin functionality is working |
| 25 | + |
| 26 | +--- |
| 27 | +**STATUS UPDATE:** |
| 28 | +- **38 out of 42 tests are now passing** - Excellent progress! |
| 29 | +- **Only 4 tests still failing** - all minor issues: |
| 30 | + 1. ✅ FIXED: Two parsing tests expecting more AST nodes than actually generated |
| 31 | + 2. ⚠️ Property-level comments not being parsed (top-level comments work) |
| 32 | + 3. ⚠️ Union types with object literals failing on comma parsing in `{ type: "GET", url: string }` |
| 33 | +- The core functionality is now working very well! |
| 34 | +- Main remaining issue is comma handling in object literals within union types |
| 35 | + 3. Comments in type definitions - Expected '}' after array element type |
| 36 | + 4. Union types with object literals - Expected identifier |
| 37 | +- Until these parser bugs are fixed, most type generation tests will continue to fail |
| 38 | +- Focus should be on fixing the parser before implementing other features |
0 commit comments