@@ -38,7 +38,7 @@ describe('MongoInstance', () => {
3838 it ( 'should start instance on port 27333' , async ( ) => {
3939 const mongod = await MongoInstance . run ( {
4040 instance : { port : 27333 , dbPath : tmpDir . name } ,
41- binary : { version : '3.4.4 ' } ,
41+ binary : { version : 'latest ' } ,
4242 } ) ;
4343
4444 expect ( mongod . getPid ( ) ) . toBeGreaterThan ( 0 ) ;
@@ -49,13 +49,13 @@ describe('MongoInstance', () => {
4949 it ( 'should throw error if port is busy' , async ( ) => {
5050 const mongod = await MongoInstance . run ( {
5151 instance : { port : 27444 , dbPath : tmpDir . name } ,
52- binary : { version : '3.4.4 ' } ,
52+ binary : { version : 'latest ' } ,
5353 } ) ;
5454
5555 await expect (
5656 MongoInstance . run ( {
5757 instance : { port : 27444 , dbPath : tmpDir . name } ,
58- binary : { version : '3.4.4 ' } ,
58+ binary : { version : 'latest ' } ,
5959 } )
6060 ) . rejects . toBeDefined ( ) ;
6161
@@ -65,7 +65,7 @@ describe('MongoInstance', () => {
6565 it ( 'should await while mongo is killed' , async ( ) => {
6666 const mongod = await MongoInstance . run ( {
6767 instance : { port : 27445 , dbPath : tmpDir . name } ,
68- binary : { version : '3.4.4 ' } ,
68+ binary : { version : 'latest ' } ,
6969 } ) ;
7070 const pid : any = mongod . getPid ( ) ;
7171 expect ( pid ) . toBeGreaterThan ( 0 ) ;
0 commit comments