MCPcopy
hub / github.com/jestjs/jest / joinForPattern

Function joinForPattern

packages/jest-config/src/__tests__/normalize.test.ts:68–70  ·  view source on GitHub ↗
(...args: Array<string>)

Source from the content-addressed store, hash-verified

66// regular expressions. This little helper function helps us generate the
67// expected strings for checking path patterns.
68function joinForPattern(...args: Array<string>) {
69 return args.join(escapeStrForRegex(path.sep));
70}
71
72beforeEach(() => {
73 root = path.resolve('/');

Callers 1

normalize.test.tsFile · 0.85

Calls 1

escapeStrForRegexFunction · 0.90

Tested by

no test coverage detected