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

Function setupFakeSyncConfig

ng-dev/pr/common/test/common.spec.ts:85–89  ·  view source on GitHub ↗
(config: GoogleSyncConfig)

Source from the content-addressed store, hash-verified

83 }
84
85 function setupFakeSyncConfig(config: GoogleSyncConfig): string {
86 const configFileName = 'sync-test-conf.json';
87 fs.writeFileSync(path.join(git.baseDir, configFileName), JSON.stringify(config));
88 return configFileName;
89 }
90
91 describe('assert-enforce-tested', () => {
92 it('should require a TGP when label is present', async () => {

Callers 1

common.spec.tsFile · 0.70

Calls 1

stringifyMethod · 0.45

Tested by

no test coverage detected