Open rhodgkins opened 3 years ago
See firebase/firebase-functions#926
Will be fixed once that is merged in and the firebase-function dependency updated.
firebase-function
See test case
it('should allow null child value in makeDataSnapshot', async () => { const snapshot = makeDataSnapshot({ foo: null }, 'path'); expect(snapshot.exists()).be.false; expect(snapshot.val()).to.deep.equal(null); expect(snapshot.ref.key).to.equal('path'); });
Frustratingly the required changes to fix this have been pushed back to v4 of firebase-functions.
firebase-functions
Description
See firebase/firebase-functions#926
Will be fixed once that is merged in and the
firebase-function
dependency updated.Code sample
See test case