mirror of
https://github.com/morluto/rea
synced 2026-10-26 14:25:49 -04:00
test(graph): narrow summary owner and complete PE fixture facts
This commit is contained in:
@@ -1097,7 +1097,10 @@ it.each([63, 64, 65, 10_000])(
|
||||
] as const) {
|
||||
const result = projectAnalysisView(duplicatedParent, view);
|
||||
if (!result.ok) throw result.error;
|
||||
if (result.value.kind === "summary")
|
||||
if (
|
||||
result.value.kind === "summary" &&
|
||||
result.value.parent_operation === "analyze_javascript_application"
|
||||
)
|
||||
expect(result.value.summary.limitation_count).toBe(count);
|
||||
if (count <= 65) {
|
||||
expect(result.value.limitations).toEqual(messages);
|
||||
|
||||
@@ -34,6 +34,8 @@ it.each([1, 129])(
|
||||
sha256: "0".repeat(64),
|
||||
kind: "executable",
|
||||
format: "pe",
|
||||
executableRole: "application",
|
||||
managed: false,
|
||||
architecture: "x86_64",
|
||||
availableArchitectures: ["x86_64"],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user