Skip to content

Commit 9f48a21

Browse files
committed
chore: fix clean-install
1 parent a9e94d8 commit 9f48a21

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

package-lock.json

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/manual/x509_auth.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ describe('x509 Authentication', function () {
5959
function () {
6060
it('fails to authenticate', async function () {
6161
client = new MongoClient(connectionString.toString(), validOptions);
62-
const error = await client.connect().catch(e => e);
62+
const error = await client.connect().then(
63+
() => null,
64+
e => e
65+
);
6366

6467
expect(error).to.be.instanceOf(MongoServerError);
6568
expect(error.codeName).to.match(/UserNotFound/i);

0 commit comments

Comments
 (0)