test,async_hooks: stabilize tests on Windows · nodejs/node@3d9bc01 · GitHub
Skip to content

Commit 3d9bc01

Browse files
refackaddaleax
authored andcommitted
test,async_hooks: stabilize tests on Windows
PR-URL: #13381 Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
1 parent 09eb588 commit 3d9bc01

4 files changed

Lines changed: 39 additions & 30 deletions

File tree

test/async-hooks/test-emit-before-after.js

Lines changed: 2 additions & 2 deletions

test/async-hooks/test-graph.signal.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
'use strict';
22

33
const common = require('../common');
4+
if (common.isWindows) {
5+
common.skip('no signals on Windows');
6+
return;
7+
}
8+
49
const initHooks = require('./init-hooks');
510
const verifyGraph = require('./verify-graph');
611
const exec = require('child_process').exec;

test/async-hooks/test-signalwrap.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
2-
32
const common = require('../common');
3+
4+
if (common.isWindows) return common.skip('no signals in Windows');
5+
46
const assert = require('assert');
57
const initHooks = require('./init-hooks');
68
const { checkInvocations } = require('./hook-checks');
Lines changed: 29 additions & 27 deletions

0 commit comments

Comments
 (0)