Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ replacePathSepForGlob
Function
replacePathSepForGlob
packages/jest-util/src/replacePathSepForGlob.ts:8–10 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
6
*/
7
8
export
default
function
replacePathSepForGlob(path: string): string {
9
return
path.replaceAll(/\\(?![$()+.?^{}])/g,
'/'
);
10
}
Callers
4
normalize
Function · 0.90
matchFilesWithGlob
Method · 0.90
shouldInstrument
Function · 0.90
globsToMatcher
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected