MCPcopy Create free account
hub / github.com/firebase/firebase-tools / prepareStep

Function prepareStep

scripts/dataconnect-test/tests.ts:125–130  ·  view source on GitHub ↗
(step: Step)

Source from the content-addressed store, hash-verified

123}
124
125function prepareStep(step: Step) {
126 fs.writeFileSync(toPath("fdc-test/schema/schema.gql"), step.schemaGQL, { mode: 420 /* 0o644 */ });
127 fs.writeFileSync(toPath("fdc-test/connector/connector.gql"), step.connectorGQL, {
128 mode: 420 /* 0o644 */,
129 });
130}
131
132describe("firebase deploy", () => {
133 let serviceId: string;

Callers 1

tests.tsFile · 0.85

Calls 1

toPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…