@@ -7,12 +7,12 @@ import {
77 onDocumentWritten ,
88} from "firebase-functions/v2/firestore" ;
99import { sanitizeData } from "../utils" ;
10- import { FIRESTORE_REGION } from "../region" ;
10+ import { REGION } from "../region" ;
1111
1212export const firestoreOnDocumentCreatedTests = onDocumentCreated (
1313 {
1414 document : "tests/{documentId}" ,
15- region : FIRESTORE_REGION ,
15+ region : REGION ,
1616 timeoutSeconds : 540 ,
1717 } ,
1818 async ( event ) => {
@@ -37,7 +37,7 @@ export const firestoreOnDocumentCreatedTests = onDocumentCreated(
3737export const firestoreOnDocumentDeletedTests = onDocumentDeleted (
3838 {
3939 document : "tests/{documentId}" ,
40- region : FIRESTORE_REGION ,
40+ region : REGION ,
4141 timeoutSeconds : 540 ,
4242 } ,
4343 async ( event ) => {
@@ -62,7 +62,7 @@ export const firestoreOnDocumentDeletedTests = onDocumentDeleted(
6262export const firestoreOnDocumentUpdatedTests = onDocumentUpdated (
6363 {
6464 document : "tests/{documentId}" ,
65- region : FIRESTORE_REGION ,
65+ region : REGION ,
6666 timeoutSeconds : 540 ,
6767 } ,
6868 async ( event ) => {
@@ -87,7 +87,7 @@ export const firestoreOnDocumentUpdatedTests = onDocumentUpdated(
8787export const firestoreOnDocumentWrittenTests = onDocumentWritten (
8888 {
8989 document : "tests/{documentId}" ,
90- region : FIRESTORE_REGION ,
90+ region : REGION ,
9191 timeoutSeconds : 540 ,
9292 } ,
9393 async ( event ) => {
0 commit comments