File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
firestore-send-email/functions/__tests__
storage-resize-images/functions/__tests__ Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import * as admin from "firebase-admin" ;
2
2
import { smtpServer } from "./createSMTPServer" ;
3
+ import { FieldValue } from "firebase-admin/firestore" ;
3
4
4
5
process . env . FIRESTORE_EMULATOR_HOST = "localhost:8080" ;
5
6
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ describe("extension", () => {
38
38
const successFilePath = `${ process . env . RESIZED_IMAGES_PATH } /test-image_${ process . env . IMG_SIZES } .${ process . env . IMAGE_TYPE } ` ;
39
39
// wait for file to be uploaded to storage:
40
40
expect ( await waitForFile ( storage , successFilePath ) ) . toBe ( true ) ;
41
- } ) ;
41
+ } , 12000 ) ;
42
42
43
43
test ( "should resize (test-image.jpeg) successfully, and copy failed image (not-an-image.jpeg) to failed directory" , async ( ) => {
44
44
const failureFilePath = `${ process . env . FAILED_IMAGES_PATH } /not-an-image.jpeg` ;
You can’t perform that action at this time.
0 commit comments