79115653

Date: 2024-10-22 20:37:23
Score: 3
Natty:
Report link

Fixed by passing in the change like this:

await wrapped({ data: change });

See

data and params in onDocumentCreated Firebase function are undefined when called from firebase-functions-test

and

https://github.com/firebase/firebase-functions-test/issues/205#issuecomment-1855885136

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: orangesoda