Skip to content

Commit

Permalink
Merge pull request #2159 from firebase/@invertase/update-package-locks
Browse files Browse the repository at this point in the history
chore(firestore-bigquery-export): update lockfiles
  • Loading branch information
cabljac committed Aug 15, 2024
2 parents 3129cf5 + 0a1a5e9 commit 38a0c81
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
11 changes: 7 additions & 4 deletions firestore-bigquery-export/functions/__tests__/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ import * as admin from "firebase-admin";
import { BigQuery } from "@google-cloud/bigquery";

/** Set defaults */
const bqProjectId = "extensions-testing";
const bqProjectId = "dev-extensions-testing";
const datasetId = "firestore_export";
const tableId = "bq_e2e_test_raw_changelog";

/** Init resources */
admin.initializeApp({ projectId: bqProjectId });
const bq = new BigQuery({ projectId: "extensions-testing" });
const bq = new BigQuery({
projectId: "dev-extensions-testing",
// location: "us-central1",
});
import { documentData } from "./fixtures/documentData";

/***
Expand All @@ -27,7 +30,7 @@ describe("e2e", () => {
const docRef = await db.collection("posts").add(testData);

/** Wait for 20 seconds */
await new Promise((resolve) => setTimeout(resolve, 5000));
await new Promise((resolve) => setTimeout(resolve, 20000));

/** Get the latest record from this table */
const [changeLogQuery] = await bq.createQueryJob({
Expand Down Expand Up @@ -57,5 +60,5 @@ describe("e2e", () => {
expect(result.singleReference).toBe("reference/reference1");
expect(result.reference_list[0]).toBe("reference/reference1");
expect(result.reference_list[1]).toBe("reference/reference2");
}, 10000);
}, 30000);
});
8 changes: 4 additions & 4 deletions firestore-bigquery-export/functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions firestore-bigquery-export/scripts/import/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 38a0c81

Please sign in to comment.