Skip to content

Releases: firebase/firebase-functions-test

v2.0.1

06 May 18:56
Compare
Choose a tag to compare
  • Make WrappedFunction curry type info (#138)
  • Update to firebase-functions@2.21 to include updated typing (#139)

v2.0.0

04 May 21:08
Compare
Choose a tag to compare

v0.3.3

06 Oct 22:36
Compare
Choose a tag to compare
  • Allow setting context.app in wrapped callable functions (#123).

v0.3.2

16 Aug 16:37
Compare
Choose a tag to compare
  • Fix problem with missing import in the firebase-functions SDK

v0.3.1

02 Aug 18:42
Compare
Choose a tag to compare
  • Add support for GeoPoints in Firestore tests
  • Improve error message for unsupported types in Firestore tests

v0.3.0

04 Jun 03:47
Compare
Choose a tag to compare
  • Remove support for crashlytics (#98)

v0.2.3

26 Oct 18:40
Compare
Choose a tag to compare
  • Fixes a bug where functions.config() would return old config values if process.env.CLOUD_RUNTIME_CONFIG was changed after the first call to functions.config().

v0.2.2

03 Sep 19:36
Compare
Choose a tag to compare
  • Adds clearFirestoreData to clear all Firestore data in the Firestore emulator (#71).
  • Adds ability to create DataSnapshots for multiple RTDB instances (#72).

v0.2.1

15 Apr 17:43
100d4dd
Compare
Choose a tag to compare
  • 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

26 Feb 01:10
bdc5030
Compare
Choose a tag to compare
  • [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).