MCPcopy
hub / github.com/google/gts / makeFakeFsExistsSync

Function makeFakeFsExistsSync

test/test-util.ts:44–48  ·  view source on GitHub ↗
(
  expected: PathLike[],
)

Source from the content-addressed store, hash-verified

42}
43
44function makeFakeFsExistsSync(
45 expected: PathLike[],
46): (path: PathLike) => boolean {
47 return (path: PathLike) => expected.some(item => item === path);
48}
49
50const FAKE_DIRECTORY = '/some/fake/directory';
51const PATH_TO_TSCONFIG = path.resolve(FAKE_DIRECTORY, 'tsconfig.json');

Callers 1

test-util.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…