firebase-functions-test
firebase-functions-test copied to clipboard
### Following changes - add WrappedFunction & WrappedScheduledFunction "generic" - change WrappedFunction & WrappedScheduledFunction's return type "any | Promise\" to "T" ### Problem In the v0.3.3 `wrap()()` this function's return...
I am attempting to follow the tutorial provided here: https://firebase.google.com/docs/functions/unit-testing#online-mode This code block defines where the firebase services are found on the network, as well as what auth creds to...
### Description Allowed partial typed `UserRecord` object to be specified for parameter of `auth.makeUserRecord`. ### Code sample N/A
### Version info **firebase-functions-test:**"0.2.3" **firebase-functions:**"3.11.0" **firebase-admin:**"9.1.1" I can make an authed call test by using `test.wrap(fn)(data, {auth: uid: 'anyUid'})`, but I also need to test for anonymous authentication call. How...
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19. Commits 9a6faa0 4.4.19 70ef812 drop dirCache for symlink on all platforms 3e35515 4.4.18 52b09e3 fix: prevent path escape using drive-relative paths bb93ba2 fix: reserve...
Developing Google cloud functions locally. Trying to test functions that invoke Firestore. Here is a minimal example. - Emulators are running. - The function addMessage() works completely fine when invoked...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
### Version info **firebase-functions-test:** 0.2.3 **firebase-functions:** 3.13.0 **firebase-admin:** 9.4.1 ### Test case **myfunc.js:** (based on [this example](https://firebase.google.com/docs/functions/firestore-events#writing_data) about writing to the same document that triggered the function) ```js const functions...
`makeDocumentSnapshot` checks the options to see if there is an `app` property, but `DocumentSnapshotOptions` calls it `firebaseApp`. This leads to some weird casting requirements to use `makeDocumentSnapshot` with your own...