We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd54c8c commit a25b19fCopy full SHA for a25b19f
Node-1st-gen/quickstarts/uppercase-rtdb/functions/test/test.offline.js
@@ -84,7 +84,9 @@ describe('Cloud Functions', () => {
84
const wrapped = test.wrap(myFunctions.makeUppercase);
85
// Since we've stubbed snap.ref.parent.child(childParam).set(setParam) to return true if it was
86
// called with the parameters we expect, we assert that it indeed returned true.
87
- return assert.equal(wrapped(snap), true);
+ return wrapped(snap).then(makeUppercaseResult => {
88
+ return assert.equal(makeUppercaseResult, true);
89
+ });
90
// [END assertOffline]
91
})
92
});
0 commit comments