Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 4718458

Browse files
committed
attempt windows-friendly reproducible case for mochajs#2315
1 parent 7f2c4ae commit 4718458

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/fixtures/regression/issue-2315.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
describe('issue-2315: cannot read property currentRetry of undefined', function () {
22
before(function () {
3-
require('http').createServer().listen(1);
3+
process.nextTick(function () {
4+
throw new Error();
5+
});
46
});
57

68
it('something', function () {});

0 commit comments

Comments
 (0)