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

Function expected

scripts/dataconnect-test/tests.ts:14–32  ·  view source on GitHub ↗
(
  serviceId: string,
  databaseId: string,
  schemaUpdateTime: string,
  connectorLastUpdated: string,
)

Source from the content-addressed store, hash-verified

12const FIREBASE_DEBUG = process.env.FIREBASE_DEBUG || "";
13
14function expected(
15 serviceId: string,
16 databaseId: string,
17 schemaUpdateTime: string,
18 connectorLastUpdated: string,
19) {
20 return {
21 serviceId,
22 location: "us-central1",
23 datasource: `CloudSQL Instance: dataconnect-test\nDatabase: ${databaseId}`,
24 schemaUpdateTime,
25 connectors: [
26 {
27 connectorId: "connectorId",
28 connectorLastUpdated,
29 },
30 ],
31 };
32}
33
34async function cleanUpService(projectId: string, serviceId: string, databaseId: string) {
35 await client.deleteService(`projects/${projectId}/locations/us-central1/services/${serviceId}`);

Callers 1

tests.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…