MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / match.test.ts

File match.test.ts

src/pkg/utils/match.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "vitest";
2import { isUrlExcluded, isUrlIncluded, UrlMatch } from "./match";
3import { uuidv4 } from "@App/pkg/utils/uuid";
4import { extractUrlPatterns } from "./url_matcher";

Callers

nothing calls this directly

Calls 12

extractUrlPatternsFunction · 0.90
isUrlExcludedFunction · 0.90
isUrlIncludedFunction · 0.90
makeUrlMatcherFunction · 0.85
addMatchMethod · 0.80
addIncludeMethod · 0.80
urlMatchMethod · 0.80
addRulesMethod · 0.80
keysMethod · 0.80
addExcludeMethod · 0.80
clearRulesMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected