[tests] update cloud functions testing project to include region testing function
This commit is contained in:
parent
1b309d1dae
commit
de524a52fb
|
@ -3,6 +3,10 @@ const functions = require('firebase-functions');
|
|||
|
||||
const TEST_DATA = require('./test-data');
|
||||
|
||||
exports.runTestWithRegion = functions
|
||||
.region('europe-west1')
|
||||
.https.onCall(() => 'europe-west1');
|
||||
|
||||
exports.runTest = functions.https.onCall(data => {
|
||||
console.log(Date.now(), data);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9,8 +9,8 @@
|
|||
"logs": "firebase functions:log"
|
||||
},
|
||||
"dependencies": {
|
||||
"firebase-admin": "~5.12.0",
|
||||
"firebase-functions": "^1.0.1"
|
||||
"firebase-admin": "^6.0.0",
|
||||
"firebase-functions": "^2.0.5"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue