Skip to content

Commit

Permalink
chore(firestore-bigquery-export): format and regen package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac committed Nov 28, 2023
1 parent e633bcc commit 130711c
Show file tree
Hide file tree
Showing 4 changed files with 352 additions and 13,259 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ describe("processing partitions on a new table", () => {
expect(value.end_date).toBeDefined();
});

test("returns a value when timePartitioningField and timePartitioningFirestoreField string value has been defined", async () => {
test("returns a value when timePartitioningField and timePartitioningFirestoreField string value has been defined, with a timestamp-like value", async () => {
const config: FirestoreBigQueryEventHistoryTrackerConfig = {
datasetId: "",
tableId: "",
Expand Down Expand Up @@ -283,8 +283,9 @@ describe("processing partitions on a new table", () => {
};

// a Timestamp-Like object (we lose the instance after serialization)
const end_date = JSON.parse(JSON.stringify(admin.firestore.Timestamp.now()));

const end_date = JSON.parse(
JSON.stringify(admin.firestore.Timestamp.now())
);

const event: FirestoreDocumentChangeEvent = {
timestamp: "",
Expand Down Expand Up @@ -446,8 +447,6 @@ describe("processing partitions on a new table", () => {
});
});



test("partition return false if table is not provided", async () => {
const config: FirestoreBigQueryEventHistoryTrackerConfig = {
datasetId: "",
Expand Down

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

Loading

0 comments on commit 130711c

Please sign in to comment.