MCPcopy Create free account
hub / github.com/angular/dev-infra / setupFakeSyncConfig

Function setupFakeSyncConfig

ng-dev/utils/test/g3.spec.ts:32–36  ·  view source on GitHub ↗
(config: GoogleSyncConfig)

Source from the content-addressed store, hash-verified

30 });
31
32 function setupFakeSyncConfig(config: GoogleSyncConfig): string {
33 const configFileName = 'sync-test-conf.json';
34 fs.writeFileSync(path.join(git.baseDir, configFileName), JSON.stringify(config));
35 return configFileName;
36 }
37
38 describe('gathering stats', () => {
39 it('unless the g3 merge config is not defined in the caretaker config', async () => {

Callers 1

g3.spec.tsFile · 0.70

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected