firebase-functions-test
firebase-functions-test copied to clipboard
Bumps [node-forge](https://github.com/digitalbazaar/forge) and [google-p12-pem](https://github.com/googleapis/google-p12-pem). These dependencies needed to be updated together. Updates `node-forge` from 0.9.2 to 1.3.1 Changelog Sourced from node-forge's changelog. 1.3.1 - 2022-03-29 Fixes RFC 3447 and RFC...
### Version info **firebase-functions-test:"^2.4.0" **firebase-functions:"^3.23.0" **firebase-admin:"^11.0.1" ### Test case function code ``` import { https } from 'firebase-functions'; import { Timestamp } from 'firebase-admin/firestore'; import * as admin from 'firebase-admin';...
### Version info **firebase-functions-test:** 2.3.0 **firebase-functions:** 3.22.0 **firebase-admin:** 10.2.0 ### Steps to reproduce 1. Initialize test app following https://firebase.google.com/docs/functions/unit-testing#online-mode 2. Use sinon.useFakeTimers to change current date https://sinonjs.org/releases/latest/fake-timers/ 3. Any calls...
### Version info **firebase-functions-test:** 2.3.0 **firebase-functions:** 3.21.2 **firebase-admin:** 10.2.0 ### Bug Throws an error "Cannot read property 'DataSnapshot' of undefined". https://github.com/firebase/firebase-functions-test/blob/master/src/cloudevent/generate.ts#L44 `database` is not exported from `firebase-functions` until version 3.22.0....
### Version info **firebase-functions-test: 2.3.0** **firebase-functions: 3.22.0** **firebase-admin: 9.1.1** ### Test case Live code: ``` import * as functions from "firebase-functions/v2"; export const myv2function = functions.https.onCall( { minInstances: 1 },...
### Version info **firebase-functions-test:** ``` json "devDependencies": { "@types/chai": "^4.3.5", "@types/mocha": "^10.0.1", "chai": "^4.3.7", "firebase-functions-test": "^3.1.0", "mocha": "^10.2.0", "typescript": "^4.9.0" }, ``` **firebase-functions:** "firebase-functions": "^4.4.1", **firebase-admin:** "firebase-admin": "^11.8.0", ### Test...
Hello ### Version info ```json { "name": "functions", "main": "lib/src/index.js", "scripts": { . . . "test": "mocha --timeout 20000 --reporter spec --require ts-node/register ./test/**/*.test.ts", }, "engines": { "node": "16" },...
### Version info **firebase-functions-test:** 3.1.1 **firebase-functions:** 3.18.0 **firebase-admin:** 10.0.2 ### Test case ``` // create.ts // userSchema is a Zod object const { HttpsError, onCall } = require("firebase-functions/v2/https") import {userSchema}...
https://github.com/firebase/firebase-admin-node has been updated to `v12` and is not a version included in the current `peerDependencies`. ``` "firebase-admin": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0", ```
Removes [tough-cookie](https://github.com/salesforce/tough-cookie). It's no longer used after updating ancestor dependency [firebase-tools](https://github.com/firebase/firebase-tools). These dependencies need to be updated together. Removes `tough-cookie` Updates `firebase-tools` from 8.9.2 to 13.0.3 Release notes Sourced from...