Repository navigation
Commit 9ca924d
Fix tests that did not exercise their intended behavior
- managerCapabilities.integration.test.ts: the delegation test queried
packages.manage.upgrade (undeclared) instead of packages.manage.install
(the key that actually delegates to packages.manage), so it silently
passed by coincidence rather than exercising cross-module delegation.
The cycle test declared packages.manage -> packages.manage.install but
never wired the reverse edge, so no cycle existed to detect.
- api/test/consumer.ts: removed a duplicate @ts-expect-error assertion
for 'environments.create.named', which is rejected the same way as any
other non-catalog string literal and is already covered by the generic
arbitraryKey assertion immediately below it.
- packageManagerHeadlessConformance.unit.test.ts: fixed two import
statements that had been merged onto a single line.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0334387 commit 9ca924d
3 files changed
Lines changed: 5 additions & 5 deletions
File tree
- api/test
- src/test
- integration
- managers/common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments