Skip to content

Commit a3bdb92

Browse files
committed
addDatabaseIdToRequest mock for runQueryStream
Add the addDatabaseIdToRequest mock to the tests for every runQueryStream test so that the tests pass.
1 parent 7b5f902 commit a3bdb92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/request.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,11 @@ describe('Request', () => {
852852
describe('runQueryStream', () => {
853853
beforeEach(() => {
854854
request.request_ = () => {};
855+
request.datastore = {
856+
addDatabaseIdToRequest(d: any, r: any) {
857+
addDatabaseIdToRequest(d, r);
858+
},
859+
};
855860
});
856861

857862
it('should clone the query', done => {

0 commit comments

Comments
 (0)