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 () {
21
21
} ) ;
22
22
23
23
it ( 'should not authorize when not authenticated' , async function ( ) {
24
- console . log ( this . configuration . url ( ) ) ;
25
24
const url = removeAuthFromConnectionString ( this . configuration . url ( ) ) ;
26
- console . log ( url ) ;
27
25
client = this . configuration . newClient ( url ) ; // strip provided URI of credentials
28
26
29
27
const error = await client
30
28
. db ( 'aws' )
31
29
. collection ( 'aws_test' )
32
30
. estimatedDocumentCount ( )
33
31
. catch ( error => error ) ;
34
- console . log ( error ) ;
35
32
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 ) ;
38
35
} ) ;
39
36
40
37
it ( 'should authorize when successfully authenticated' , async function ( ) {
You can’t perform that action at this time.
0 commit comments