mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 03:33:25 +00:00
feat(artifacts): name the integrity check for target digests, Apple bundle readers and extraction (#11125)
This commit is contained in:
1 parent
682a57a987
commit
6363881faa
13 files changed
+82
-34
No files matched your search
@@ -84,7 +84,10 @@ it("refuses wrong initial digest and a changed selected file even after a return
|
||||
undefined,
|
||||
run,
|
||||
),
|
||||
).rejects.toMatchObject({ reason: "integrity" });
|
||||
).rejects.toMatchObject({
|
||||
reason: "integrity",
|
||||
integrityCheck: "container-identity",
|
||||
});
|
||||
expect(run).not.toHaveBeenCalled();
|
||||
await expect(
|
||||
withNativeMachoSource(f, scope, undefined, async () => {
|
||||
@@ -111,7 +114,10 @@ it("refuses a path replacement during the producer callback", async () => {
|
||||
await writeFile(f.path, f.bytes);
|
||||
return "result";
|
||||
}),
|
||||
).rejects.toMatchObject({ reason: "integrity" });
|
||||
).rejects.toMatchObject({
|
||||
reason: "integrity",
|
||||
integrityCheck: "container-identity",
|
||||
});
|
||||
} finally {
|
||||
await scope.close();
|
||||
await rm(f.root, { recursive: true, force: true });
|
||||
|
||||
Reference in new issue
Block a user