Add cloud function integration tests

This commit is contained in:
Conor McNamara
2023-02-23 20:53:43 +00:00
parent f54c8dddc6
commit 4c1a24d865
4 changed files with 717 additions and 43 deletions

View File

@ -6,7 +6,8 @@
"shell": "firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
"logs": "firebase functions:log",
"test": "mocha --reporter spec"
},
"engines": {
"node": "16"
@ -14,9 +15,12 @@
"main": "index.js",
"dependencies": {
"axios": "^1.3.3",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"firebase": "^9.17.1",
"firebase-admin": "^11.5.0",
"firebase-functions": "^4.2.0",
"mocha": "^10.2.0",
"xml2js": "^0.4.23"
},
"devDependencies": {