Skip to content

Commit 9448075

Browse files
committed
test: fix test
1 parent 9699d91 commit 9448075

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/manual/tls_support.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ describe('TLS Support', function () {
111111

112112
const crlFileAccessTime = (await fs.stat(TLS_CRL_FILE)).atime;
113113

114-
await client.connect();
114+
const err = await client.connect().catch(e => e);
115115

116+
expect(err).to.be.instanceof(Error);
116117
expect((await fs.stat(TLS_CRL_FILE)).atime).to.deep.equal(crlFileAccessTime);
117118
});
118119
});

0 commit comments

Comments
 (0)