Fix ignore patterns

This commit is contained in:
Andras Schmelczer 2025-05-24 13:21:37 +01:00
commit b17f34d402
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -0,0 +1,10 @@
import { Logger } from "../tracing/logger";
import { globsToRegex } from "./globs-to-regexes";
describe("globsToRegexes", () => {
it("basicExample", async () => {
const regex = globsToRegex([".git/**"], new Logger())[0];
expect(regex.test(".git/objects/object")).toBeTruthy();
});
});