MCPcopy
hub / github.com/callstack/react-native-paper / transformContent

Function transformContent

scripts/generate-ts-tests.js:12–17  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

10const TS_TEST_EXT = '.test.tsx';
11
12const transformContent = (content) =>
13 content
14 .replace("'react-native-paper'", "'..'")
15 .split('\n')
16 .map((e) => e.slice(3))
17 .join('\n');
18
19const getFiles = () =>
20 glob

Callers 1

getFilesFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…