Skip to content

Commit e267a21

Browse files
committed
fix: restore depGraph assignment used by assertions in plugin.spec.ts
The eslint migration accidentally removed the variable assignment for depGraph in a test that still uses it in assertions, causing a ReferenceError at runtime.
1 parent ac092c7 commit e267a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/system/plugin.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe("plugin", () => {
128128

129129
test("should successfully scan a local image loaded from a tar archive", async () => {
130130
const pluginResult = await plugin.scan({ path: imageNameWithTag });
131-
pluginResult.scanResults[0].facts.find(
131+
const depGraph: DepGraph = pluginResult.scanResults[0].facts.find(
132132
(fact) => fact.type === "depGraph",
133133
)!.data;
134134

0 commit comments

Comments
 (0)