Commit 57d06c0
committed
fix(test): update ansi tests to import from dist/ instead of src/
Tests now import from dist/ to catch bundling compatibility issues.
The original bug (stripAnsi22 is not a function) only appeared in
bundled code due to ESM/CJS interop issues between strip-ansi@6.0.1
and ansi-regex@6.2.2. Testing the bundled output ensures we catch
these issues before they reach production.1 parent 78411bd commit 57d06c0
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments