MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / saveBaseline

Function saveBaseline

packages/server/test/openapi/rest-openapi.test.ts:15–20  ·  view source on GitHub ↗
(name: string, spec: any)

Source from the content-addressed store, hash-verified

13}
14
15function saveBaseline(name: string, spec: any) {
16 fs.writeFileSync(
17 path.join(__dirname, 'baseline', name),
18 YAML.stringify(spec, { lineWidth: 0, indent: 4, aliasDuplicateObjects: false }),
19 );
20}
21
22const schema = `
23type Address {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected