Skip to content

Commit cd1ba11

Browse files
committed
feat(update): passing tests list
1 parent d728487 commit cd1ba11

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,7 @@ ignored/
6060

6161
# Build output
6262
node_modules/
63-
dist/
64-
test/junit.xml
63+
scripts/**/*
64+
scripts/
65+
test/junit.xml
66+
dist/

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ examples/
66
docs/
77
.github/
88
coverage/
9-
test/
109
.todo/
1110
.vscode/
1211
.idea/

test/README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ Use the debug scripts in this directory for troubleshooting:
8282

8383

8484

85+
86+
8587
<!-- TEST_RESULTS_START -->
8688
## Test Results
8789

@@ -105,15 +107,20 @@ Use the debug scripts in this directory for troubleshooting:
105107
| test\features.test.ts > Convert function types | ✅ Pass |
106108
| test\features.test.ts > Convert method types | ✅ Pass |
107109
| test\features.test.ts > Convert union types | ✅ Pass |
108-
| test\features.test.ts > Preserve single-line comments | ❌ Fail |
109-
| test\features.test.ts > Preserve multi-line comments | ❌ Fail |
110-
| test\features.test.ts > Handle syntax errors | ❌ Fail |
110+
| test\features.test.ts > Preserve single-line comments | ✅ Pass |
111+
| test\features.test.ts > Preserve multi-line comments | ✅ Pass |
112+
| test\features.test.ts > Handle syntax errors | ✅ Pass |
111113
| test\features.test.ts > Handle type errors | ✅ Pass |
114+
| test\features.test.ts > Handle string interpolation | ✅ Pass |
115+
| test\features.test.ts > Handle continue statements | ✅ Pass |
116+
| test\features.test.ts > Handle continue statements with proper context validation | ✅ Pass |
117+
| test\features.test.ts > Handle reserved keywords as property names | ✅ Pass |
112118
| test\features.test.ts > Apply plugin transforms | ✅ Pass |
113119
| test\types.test.ts > Convert nested complex types | ✅ Pass |
114120
| test\types.test.ts > Convert array of custom types | ✅ Pass |
115121
| test\types.test.ts > Convert optional nested types | ✅ Pass |
116-
| test\types.test.ts > Convert union types with object literals | ❌ Fail |
122+
| test\types.test.ts > Convert union types with object literals | ✅ Pass |
123+
| test\types.test.ts > Convert union types with object literals and intersection | ✅ Pass |
117124
| test\types.test.ts > Convert function with multiple parameters | ✅ Pass |
118125
| test\types.test.ts > Handle recursive types | ✅ Pass |
119126
| test\types.test.ts > Convert generic types | ✅ Pass |
@@ -122,12 +129,14 @@ Use the debug scripts in this directory for troubleshooting:
122129
| test\types.test.ts > Prefix interface names | ✅ Pass |
123130
| test\types.test.ts > Generate semicolons based on option | ✅ Pass |
124131
| test\snapshots.test.ts > Basic types snapshot | ✅ Pass |
125-
| test\snapshots.test.ts > Game types snapshot | ❌ Fail |
132+
| test\snapshots.test.ts > Game types snapshot | ✅ Pass |
126133
| test\plugins.test.ts > Plugin can transform types | ✅ Pass |
127134
| test\plugins.test.ts > Can use plugin object directly | ✅ Pass |
128-
| test\cli.test.ts > Convert a single file | ❌ Fail |
129-
| test\cli.test.ts > Convert a directory | ❌ Fail |
130-
| test\cli.test.ts > Validate a file | ❌ Fail |
131-
| test\cli.test.ts > Use config file | ❌ Fail |
132-
| **Total** | 33 / 42 passed |
135+
| test\plugins.test.ts > Plugin can modify generated code | ✅ Pass |
136+
| test\plugins.test.ts > Multiple plugins work together | ✅ Pass |
137+
| test\cli.test.ts > Convert a single file | ✅ Pass |
138+
| test\cli.test.ts > Convert a directory | ✅ Pass |
139+
| test\cli.test.ts > Validate a file | ✅ Pass |
140+
| test\cli.test.ts > Use config file | ✅ Pass |
141+
| **Total** | 49 / 49 passed |
133142
<!-- TEST_RESULTS_END -->

0 commit comments

Comments
 (0)