File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,17 @@ describe('MONGODB-AWS', function () {
2121 } ) ;
2222
2323 it ( 'should not authorize when not authenticated' , async function ( ) {
24- console . log ( this . configuration . url ( ) ) ;
2524 const url = removeAuthFromConnectionString ( this . configuration . url ( ) ) ;
26- console . log ( url ) ;
2725 client = this . configuration . newClient ( url ) ; // strip provided URI of credentials
2826
2927 const error = await client
3028 . db ( 'aws' )
3129 . collection ( 'aws_test' )
3230 . estimatedDocumentCount ( )
3331 . catch ( error => error ) ;
34- console . log ( error ) ;
3532
36- // expect(error).to.be.instanceOf(MongoServerError);
37- // expect(error).to.have.property('code', 13);
33+ expect ( error ) . to . be . instanceOf ( MongoServerError ) ;
34+ expect ( error ) . to . have . property ( 'code' , 13 ) ;
3835 } ) ;
3936
4037 it ( 'should authorize when successfully authenticated' , async function ( ) {
You can’t perform that action at this time.
0 commit comments