MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / cosmiconfigSync

Function cosmiconfigSync

packages/webpack5/scripts/jest.setup.ts:6–13  ·  view source on GitHub ↗
(moduleName)

Source from the content-addressed store, hash-verified

4
5jest.mock('cosmiconfig', () => ({
6 cosmiconfigSync(moduleName) {
7 return {
8 search() {
9 // no-op in tests
10 return null;
11 },
12 };
13 },
14}));
15
16const getValueMock = jest.fn();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected