Skip to content

Commit 4733a56

Browse files
arurMylesBorins
authored andcommitted
test: move tick.js from test/async-hooks to test/common
Backport-PR-URL: #23780 PR-URL: #23551 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent fe21dd3 commit 4733a56

27 files changed

+31
-35
lines changed

test/async-hooks/test-crypto-pbkdf2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!common.isMainThread)
77
common.skip('Worker bootstrapping works differently -> different async IDs');
88

99
const assert = require('assert');
10-
const tick = require('./tick');
10+
const tick = require('../common/tick');
1111
const initHooks = require('./init-hooks');
1212
const { checkInvocations } = require('./hook-checks');
1313
const crypto = require('crypto');

test/async-hooks/test-crypto-randomBytes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!common.isMainThread)
77
common.skip('Worker bootstrapping works differently -> different async IDs');
88

99
const assert = require('assert');
10-
const tick = require('./tick');
10+
const tick = require('../common/tick');
1111
const initHooks = require('./init-hooks');
1212
const { checkInvocations } = require('./hook-checks');
1313
const crypto = require('crypto');

test/async-hooks/test-embedder.api.async-resource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const async_hooks = require('async_hooks');
77
const { AsyncResource } = async_hooks;
88

test/async-hooks/test-enable-disable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
const common = require('../common');
8787
const assert = require('assert');
88-
const tick = require('./tick');
88+
const tick = require('../common/tick');
8989
const initHooks = require('./init-hooks');
9090
const { checkInvocations } = require('./hook-checks');
9191

test/async-hooks/test-fseventwrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common');
33

44
const assert = require('assert');
55
const initHooks = require('./init-hooks');
6-
const tick = require('./tick');
6+
const tick = require('../common/tick');
77
const { checkInvocations } = require('./hook-checks');
88
const fs = require('fs');
99

test/async-hooks/test-fsreqwrap-access.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const initHooks = require('./init-hooks');
77
const { checkInvocations } = require('./hook-checks');
88
const fs = require('fs');

test/async-hooks/test-fsreqwrap-readFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const initHooks = require('./init-hooks');
77
const { checkInvocations } = require('./hook-checks');
88
const fs = require('fs');

test/async-hooks/test-getaddrinforeqwrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const initHooks = require('./init-hooks');
77
const { checkInvocations } = require('./hook-checks');
88
const dns = require('dns');

test/async-hooks/test-getnameinforeqwrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const initHooks = require('./init-hooks');
77
const { checkInvocations } = require('./hook-checks');
88
const dns = require('dns');

test/async-hooks/test-httpparser.request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const common = require('../common');
44
const assert = require('assert');
5-
const tick = require('./tick');
5+
const tick = require('../common/tick');
66
const initHooks = require('./init-hooks');
77
const { checkInvocations } = require('./hook-checks');
88

0 commit comments

Comments
 (0)