@@ -7,12 +7,12 @@ import {
7
7
onDocumentWritten ,
8
8
} from "firebase-functions/v2/firestore" ;
9
9
import { sanitizeData } from "../utils" ;
10
- import { FIRESTORE_REGION } from "../region" ;
10
+ import { REGION } from "../region" ;
11
11
12
12
export const firestoreOnDocumentCreatedTests = onDocumentCreated (
13
13
{
14
14
document : "tests/{documentId}" ,
15
- region : FIRESTORE_REGION ,
15
+ region : REGION ,
16
16
timeoutSeconds : 540 ,
17
17
} ,
18
18
async ( event ) => {
@@ -37,7 +37,7 @@ export const firestoreOnDocumentCreatedTests = onDocumentCreated(
37
37
export const firestoreOnDocumentDeletedTests = onDocumentDeleted (
38
38
{
39
39
document : "tests/{documentId}" ,
40
- region : FIRESTORE_REGION ,
40
+ region : REGION ,
41
41
timeoutSeconds : 540 ,
42
42
} ,
43
43
async ( event ) => {
@@ -62,7 +62,7 @@ export const firestoreOnDocumentDeletedTests = onDocumentDeleted(
62
62
export const firestoreOnDocumentUpdatedTests = onDocumentUpdated (
63
63
{
64
64
document : "tests/{documentId}" ,
65
- region : FIRESTORE_REGION ,
65
+ region : REGION ,
66
66
timeoutSeconds : 540 ,
67
67
} ,
68
68
async ( event ) => {
@@ -87,7 +87,7 @@ export const firestoreOnDocumentUpdatedTests = onDocumentUpdated(
87
87
export const firestoreOnDocumentWrittenTests = onDocumentWritten (
88
88
{
89
89
document : "tests/{documentId}" ,
90
- region : FIRESTORE_REGION ,
90
+ region : REGION ,
91
91
timeoutSeconds : 540 ,
92
92
} ,
93
93
async ( event ) => {
0 commit comments