Skip to content

Commit 3962a7c

Browse files
committed
chore: increased timeout on storage tests
1 parent 9b05358 commit 3962a7c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

firestore-send-email/functions/__tests__/e2e.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as admin from "firebase-admin";
22
import { smtpServer } from "./createSMTPServer";
3+
import { FieldValue } from "firebase-admin/firestore";
34

45
process.env.FIRESTORE_EMULATOR_HOST = "localhost:8080";
56

storage-resize-images/functions/__tests__/e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe("extension", () => {
3838
const successFilePath = `${process.env.RESIZED_IMAGES_PATH}/test-image_${process.env.IMG_SIZES}.${process.env.IMAGE_TYPE}`;
3939
// wait for file to be uploaded to storage:
4040
expect(await waitForFile(storage, successFilePath)).toBe(true);
41-
});
41+
}, 12000);
4242

4343
test("should resize (test-image.jpeg) successfully, and copy failed image (not-an-image.jpeg) to failed directory", async () => {
4444
const failureFilePath = `${process.env.FAILED_IMAGES_PATH}/not-an-image.jpeg`;

0 commit comments

Comments
 (0)