Releases: firebase/firebase-functions-test
Releases · firebase/firebase-functions-test
v2.0.1
v2.0.0
- Try to extract context.params from triggered data pull request
- Implement firebase-functions-test wrapV2 pull request
- Update minimum Node version to v14 pull request
v0.3.3
v0.3.2
- Fix problem with missing import in the firebase-functions SDK
v0.3.1
- Add support for GeoPoints in Firestore tests
- Improve error message for unsupported types in Firestore tests
v0.3.0
v0.2.3
- Fixes a bug where
functions.config()
would return old config values ifprocess.env.CLOUD_RUNTIME_CONFIG
was changed after the first call tofunctions.config()
.
v0.2.2
v0.2.1
- wrap method now accepts resource as override in Context object, example:
const wrapped = test.wrap(require("../src/index").myFirestoreFunction);
wrapped(data, {
resource: {
name: ""projects/my-project/databases/(default)/documents/users/user-123",
},
});
v0.2.0
- [breaking] Update peer dependency requirement for firebase-functions to be v2.0.0 or above, and for firebase-admin to be v6.0.0 or above.
- Support scheduled functions (pull request #51).
- Support null value in
test.database.makeDataSnapshot
(issue #48). - Support
rawRequest
in the callable context object for a wrapped HTTP Callable function (issue #41).