Commit 1819638
committed
test(css): fix lint and address Copilot feedback
- Type the `conventions` array as `ExportsConventionLiteral[]` so
TypeScript narrows to the `exportsConvention` enum (fixes the lint
job failure on PR #20884).
- Convert the second `it()` to use `.then(...).catch(done)` instead
of `.then(onFulfilled, done)` — the two-callback form does not
forward assertion failures thrown inside the fulfillment callback,
so failures could surface as unhandled rejections / timeouts
(Copilot review feedback).
https://claude.ai/code/session_01Dp4wfcAdJPVdZaBpvD1QNZ1 parent 8b2a42c commit 1819638
2 files changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments