mirror of
https://github.com/morluto/rea.git
synced 2026-11-23 15:05:51 +00:00
test(nuget): consolidate filename provenance and retained Evidence checks (#13396)
This commit is contained in:
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);
|
||||
},
|
||||
);
|
||||
Reference in new issue
Block a user