test(nuget): consolidate filename provenance and retained Evidence checks (#13396)

This commit is contained in:
morluto authored and GitHub committed 2026-11-22 11:25:14 +00:00
1 parent 66c192a450
commit c45decb70b
4 files changed
+158 -169

No files matched your search

@@ -113,21 +113,3 @@ it("retains completed Evidence and caller selections on late cancellation", asyn
});
}
});
it.each([undefined, 67108864, 128])(
"preserves the caller's selected file budget %s",
async (maximum) => {
const input = {
path: report.artifact.path,
...(maximum === undefined ? {} : { max_file_bytes: maximum }),
};
const service = new NugetNupkgService({
close: async () => {},
identity,
inspect: async () => ok(report),
});
const result = await service.inspect(input);
if (!result.ok) throw result.error;
expect(result.value.parameters).toEqual(input);
},
);