Skip to content

Commit 9f4d404

Browse files
committed
test: remove test containing race condition
1 parent b2ad5fa commit 9f4d404

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/link-check.test.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -268,18 +268,6 @@ describe('link-check', function () {
268268
});
269269
});
270270

271-
it('should handle timeout for mailto validation', function (done) {
272-
linkCheck('mailto:[email protected]', { timeout: '1ms' }, function (err, result) {
273-
expect(err).to.be(null);
274-
expect(result.link).to.be('mailto:[email protected]');
275-
expect(result.status).to.be('dead');
276-
expect(result.statusCode).to.be(0);
277-
expect(result.err.code).to.be('ECONNRESET');
278-
expect(result.err.message).to.be('Domain MX lookup timed out');
279-
done();
280-
});
281-
});
282-
283271
it('should handle valid mailto with encoded characters in address', function (done) {
284272
linkCheck('mailto:foo%[email protected]', function (err, result) {
285273
expect(err).to.be(null);

0 commit comments

Comments
 (0)