test(sourcemaps): assert semantic evidence and actual output admission
Replace stale closed-property expectations with assertions for the evidence under test. Verify compiler coordinates and declaration indices separately in the real-browser workflow. Consolidate duplicate 50000-map admission cases and derive admission from exact serialized bytes rather than IP-address-specific output shapes. Retain capacity, omission, and aggregate-byte coverage. A bounded Flameox CPU profile completed in about 1.4 seconds and showed no producer bottleneck; targeted admission and real Chrome CLI/MCP verification pass.
This commit is contained in:
@@ -79,7 +79,7 @@ for (const format of ["directory", "asar"] as const) {
|
||||
map_path: "app.js.map",
|
||||
resolution: { kind: "artifact-relative", path: "original.js" },
|
||||
},
|
||||
properties: { content_available: true },
|
||||
properties: expect.objectContaining({ content_available: true }),
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user