Skip to content

Commit 5b04fea

Browse files
committed
test: remove debug
1 parent fe9ff2b commit 5b04fea

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/integration/auth/mongodb_aws.test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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 () {

0 commit comments

Comments
 (0)