Open tejashah88 opened 10 months ago
I've noticed that the tests in test/index.js mostly don't mock fetching the certificate from the URL, which can lead to flaky tests. I recommend adding mocking functionality (similar to how you used nock in test/fetch-cert.js).
test/index.js
test/fetch-cert.js
open to a PR
I've noticed that the tests in
test/index.js
mostly don't mock fetching the certificate from the URL, which can lead to flaky tests. I recommend adding mocking functionality (similar to how you used nock intest/fetch-cert.js
).