firebase-functions-test
firebase-functions-test copied to clipboard
Failing test case for firebase/firebase-functions#926
trafficstars
Description
See firebase/firebase-functions#926
Will be fixed once that is merged in and the firebase-function dependency updated.
Code sample
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.