diff --git a/src/infra/archive-path.test.ts b/src/infra/archive-path.test.ts index 97a83a30e50..36453bd7b6c 100644 --- a/src/infra/archive-path.test.ts +++ b/src/infra/archive-path.test.ts @@ -30,7 +30,7 @@ describe("archive path helpers", () => { }); it.each(["", ".", "./"])("accepts empty-like entry paths: %j", (entryPath) => { - expect(() => validateArchiveEntryPath(entryPath)).not.toThrow(); + expect(validateArchiveEntryPath(entryPath)).toBeUndefined(); }); it.each([