Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Aug 22, 2023
1 parent 9699d91 commit 9448075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/manual/tls_support.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ describe('TLS Support', function () {

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

await client.connect();
const err = await client.connect().catch(e => e);

expect(err).to.be.instanceof(Error);
expect((await fs.stat(TLS_CRL_FILE)).atime).to.deep.equal(crlFileAccessTime);
});
});
Expand Down

0 comments on commit 9448075

Please sign in to comment.