Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ escapeGlobCharacters
Function
escapeGlobCharacters
packages/jest-config/src/utils.ts:54–55 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
52
};
53
54
export
const
escapeGlobCharacters = (path: string): string =>
55
path.replaceAll(/([!()*?[\\\]{}])/g,
'\\$1'
);
56
57
export
const
replaceRootDirInPath = (
58
rootDir: string,
Callers
1
normalize
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected