I'm exploring Cloud Shell emulator for firebase security rules and in the tutorial I'm getting the below error on npm --prefix=functions test (step 4.5 of the tutorial, here is the link to the tutorial in case it's publicly accessible):
functions@ test /home/user/rules-tutorial/quickstart-testing/cs-walkthrough/functions
mocha --timeout 5000
body {"error":{"code":400,"message":"Payload isn't valid for request.","status":"INVALID_ARGUMENT"}}
0 passing (40ms)
1 failing
"before all" hook in "{root}":
Payload isn't valid for request.
How do I fix that?
