Skip to content

Commit f48747a

Browse files
committed
fix(firestore-bigquery-export): tests
1 parent 65dbc60 commit f48747a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

firestore-bigquery-export/functions/__tests__/__snapshots__/config.test.ts.snap

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Object {
2121
"instanceId": undefined,
2222
"kmsKeyName": "test",
2323
"location": "us-central1",
24+
"logLevel": "info",
2425
"maxDispatchesPerSecond": 10,
2526
"maxEnqueueAttempts": 3,
2627
"maxStaleness": undefined,

firestore-bigquery-export/functions/__tests__/config.test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import * as yaml from "js-yaml";
66
import mockedEnv from "mocked-env";
77

88
import { clustering } from "../src/config";
9+
import { log } from "console";
910

1011
let restoreEnv;
1112
let extensionYaml;
@@ -19,6 +20,7 @@ const environment = {
1920
TRANSFORM_FUNCTION: "",
2021
CLUSTERING: "data,timestamp",
2122
KMS_KEY_NAME: "test",
23+
LOG_LEVEL: "info",
2224
};
2325

2426
//@ts-ignore
@@ -51,6 +53,7 @@ describe("extension config", () => {
5153
tableId: environment.TABLE_ID,
5254
clustering: clustering(environment.CLUSTERING),
5355
kmsKeyName: environment.KMS_KEY_NAME,
56+
logLevel: environment.LOG_LEVEL,
5457
};
5558
expect(config()).toMatchSnapshot(env);
5659
});

0 commit comments

Comments
 (0)