Closed
Description
firebase-functions-test/src/v1.ts
Line 221 in 9f401ca
Hello there. I think I found a bug, but it seems to be a mismatch between what is shown by the typing of the wrapped
function.
const wrapped = testFunctions.wrap(addPlayer)
const result = await wrapped(data, {authType: 'USER', auth: {uid: 'p2'}})
Here is what I have. The type of the function wrapped
suggests that the field authType
is valid. However, while debugging a silent error, I found out that this field is not present in the array validFields
.