@@ -77,9 +77,11 @@ describe('DriverInterfaceSchema', () => {
7777 checkHealth : async ( ) => true ,
7878 execute : async ( ) => ( { } ) ,
7979 find : async ( ) => [ ] ,
80+ findStream : async function * ( ) { } ,
8081 findOne : async ( ) => null ,
8182 create : async ( ) => ( { } ) ,
8283 update : async ( ) => ( { } ) ,
84+ upsert : async ( ) => ( { } ) ,
8385 delete : async ( ) => true ,
8486 count : async ( ) => 0 ,
8587 bulkCreate : async ( ) => [ ] ,
@@ -118,9 +120,11 @@ describe('DriverInterfaceSchema', () => {
118120 checkHealth : async ( ) => true ,
119121 execute : async ( ) => ( { } ) ,
120122 find : async ( object : string , query : any ) => [ ] ,
123+ findStream : async function * ( object : string , query : any ) { } ,
121124 findOne : async ( object : string , query : any ) => null ,
122125 create : async ( object : string , data : any ) => data ,
123126 update : async ( object : string , id : any , data : any ) => data ,
127+ upsert : async ( object : string , data : any ) => data ,
124128 delete : async ( object : string , id : any ) => true ,
125129 count : async ( ) => 0 ,
126130 bulkCreate : async ( object : string , data : any [ ] ) => data ,
@@ -222,9 +226,11 @@ describe('DriverInterfaceSchema', () => {
222226 checkHealth : async ( ) => true ,
223227 execute : async ( ) => ( { } ) ,
224228 find : async ( ) => [ ] ,
229+ findStream : async function * ( ) { } ,
225230 findOne : async ( ) => null ,
226231 create : async ( ) => ( { } ) ,
227232 update : async ( ) => ( { } ) ,
233+ upsert : async ( ) => ( { } ) ,
228234 delete : async ( ) => true ,
229235 count : async ( ) => 0 ,
230236 bulkCreate : async ( ) => [ ] ,
@@ -301,9 +307,11 @@ describe('DriverInterfaceSchema', () => {
301307 checkHealth : async ( ) => true ,
302308 execute : async ( ) => ( { } ) ,
303309 find : async ( ) => [ ] ,
310+ findStream : async function * ( ) { } ,
304311 findOne : async ( ) => null ,
305312 create : async ( ) => ( { } ) ,
306313 update : async ( ) => ( { } ) ,
314+ upsert : async ( ) => ( { } ) ,
307315 delete : async ( ) => true ,
308316 count : async ( ) => 0 ,
309317 bulkCreate : async ( ) => [ ] ,
0 commit comments