Commit af46aff
committed
fix(test): resolve binCliPath undefined errors and CI shimmer test
Fix three test issues preventing CI success:
1. binCliPath undefined errors (23 tests):
- test/helpers/cli-execution.mts: Change from destructuring to function call
- test/run-with-config.mts: Change from destructuring to function call
- Root cause: binCliPath is a function, not a property
2. Shimmer animation test failure:
- src/utils/terminal/ascii-header.test.mts: Add CI environment check
- In CI, applyShimmer renders static output for determinism
- Test now expects identical frames when CI=true1 parent 4c1a3f3 commit af46aff
File tree
3 files changed
+11
-4
lines changed- packages/cli
- src/utils/terminal
- test
- helpers
3 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments