test: clarify archive path accepted paths

This commit is contained in:
Peter Steinberger
2026-05-08 12:39:42 +01:00
parent 933f092c98
commit 6dec8ee440

View File

@@ -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([