Skip to content

Commit

Permalink
tweak issue #884 regression test so it triggers on master
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Apr 7, 2020
1 parent 56f2079 commit 8622dca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/issue-884/index-2.ts
@@ -0,0 +1,5 @@
const timeout = setTimeout(() => {}, 0);

if (timeout.unref) {
timeout.unref();
}
5 changes: 5 additions & 0 deletions tests/issue-884/index-3.ts
@@ -0,0 +1,5 @@
const timeout = setTimeout(() => {}, 0);

if (timeout.unref) {
timeout.unref();
}
4 changes: 4 additions & 0 deletions tests/issue-884/index.ts
@@ -1,5 +1,9 @@
import './index-2';

const timeout = setTimeout(() => {}, 0);

if (timeout.unref) {
timeout.unref();
}

require('./index-3');

0 comments on commit 8622dca

Please sign in to comment.