@@ -483,15 +483,6 @@ describe('When executing an operation for the first time', () => {
483483 } ) ;
484484 } ) ;
485485
486- describe ( `#insert()` , ( ) => {
487- it ( 'should connect the client' , async ( ) => {
488- const c = client . db ( ) . collection ( 'test' ) ;
489- // @ts -expect-error: deprecated API
490- await c . insert ( { a : 1 } ) ;
491- expect ( client ) . to . have . property ( 'topology' ) . that . is . instanceOf ( Topology ) ;
492- } ) ;
493- } ) ;
494-
495486 describe ( `#insertMany()` , ( ) => {
496487 it ( 'should connect the client' , async ( ) => {
497488 const c = client . db ( ) . collection ( 'test' ) ;
@@ -542,15 +533,6 @@ describe('When executing an operation for the first time', () => {
542533 } ) ;
543534 } ) ;
544535
545- describe ( `#remove()` , ( ) => {
546- it ( 'should connect the client' , async ( ) => {
547- const c = client . db ( ) . collection ( 'test' ) ;
548- // @ts -expect-error: deprecated API
549- await c . remove ( { a : 1 } ) ;
550- expect ( client ) . to . have . property ( 'topology' ) . that . is . instanceOf ( Topology ) ;
551- } ) ;
552- } ) ;
553-
554536 describe ( `#rename()` , ( ) => {
555537 it ( 'should connect the client' , async ( ) => {
556538 const c = client . db ( ) . collection ( 'test0' ) ;
@@ -575,15 +557,6 @@ describe('When executing an operation for the first time', () => {
575557 } ) ;
576558 } ) ;
577559
578- describe ( `#update()` , ( ) => {
579- it ( 'should connect the client' , async ( ) => {
580- const c = client . db ( ) . collection ( 'test' ) ;
581- // @ts -expect-error: deprecated API
582- await c . update ( { a : 1 } , { $set : { a : 2 } } ) ;
583- expect ( client ) . to . have . property ( 'topology' ) . that . is . instanceOf ( Topology ) ;
584- } ) ;
585- } ) ;
586-
587560 describe ( `#updateMany()` , ( ) => {
588561 it ( 'should connect the client' , async ( ) => {
589562 const c = client . db ( ) . collection ( 'test' ) ;
0 commit comments