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

Function normalizeProxy

packages/jest-haste-map/src/watchers/common.js:110–112  ·  view source on GitHub ↗

* Returns a callback that when called will normalize a path and call the * original callback * * @param {function} callback * @return {function} * @private

(callback)

Source from the content-addressed store, hash-verified

108 */
109
110function normalizeProxy(callback) {
111 return (filepath, stats) => callback(path.normalize(filepath), stats);
112}

Callers 1

common.jsFile · 0.85

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected