Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { isFileScanDeliverable } from "./fileScanPolicy";
|
||||
|
||||
describe("file scan delivery policy", () => {
|
||||
it.each(["pending", "infected", "skipped", "unknown", ""])("fails closed for %s", (scanStatus) => {
|
||||
expect(isFileScanDeliverable(scanStatus)).toBe(false);
|
||||
});
|
||||
|
||||
it("allows files only after a clean scanner verdict", () => {
|
||||
expect(isFileScanDeliverable("clean")).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user