This repository was archived by the owner on Oct 26, 2026. It is now read-only.
Repository navigation
Commit dbb40a7
test(vi-mock): inherit the real @object-ui/plugin-grid surface in 25 vi.mock factories (#8146)
Sweeps objectui#6892's seventh specifier. All 25 judged call sites on
`@object-ui/plugin-grid` were frozen -- 21 under packages/plugin-view, 4 under
packages/plugin-designer -- and each now obtains the real barrel through
`importOriginal` and spreads it FIRST, keeping its hand-written overrides after.
The specifier joins COVERED_SPECIFIERS in the same commit, so the guard holds it
at zero from here.
Two syntactic shapes: 21 object-literal arrows (15 of them byte-identical on one
line) and 4 designer sites that delegated the whole factory to a shared manual
mock module, which now spread the real barrel first and the manual mock second.
STEP 0 walked the 560-module, 1421-statement graph reachable from the barrel and
returned PROCEED on the CLASS of the effect: 114 namespaced module-scope
ComponentRegistry.register calls plus three registration idioms in
packages/fields (registerFieldRenderer, setCellRendererResolver,
registerAllFields), all Map.set or a module-level let; zero timers, globals,
storage, fetch or connections. Importing the real barrel under happy-dom
registers 375 keys and emits zero console.warn and zero console.error.
The pin's neighbour fixture named this specifier while it was uncovered, so the
sweep turned its frozen factory into a genuine finding. It now names a specifier
no package publishes, which keeps the case about the scope resolver rather than
about the covered set's current membership.
Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Co-authored-by: Claude <noreply@anthropic.com>1 parent c14d3a0 commit dbb40a7
28 files changed
Lines changed: 189 additions & 32 deletions
File tree
- .changeset
- packages
- plugin-designer/src/__tests__
- plugin-view/src/__tests__
- scripts
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments