Skip to content

Commit 176495f

Browse files
authored
chore(node): update node test suite to 18.12.0 (LTS) (#2814)
parallel/test-stream-writable-callback-twice.js was removed in Node in nodejs/node#44313, so it is removed here as well.
1 parent d33127d commit 176495f

File tree

561 files changed

+571
-586
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

561 files changed

+571
-586
lines changed

node/_tools/config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"nodeVersion": "18.8.0",
2+
"nodeVersion": "18.12.0",
33
"ignore": {
44
"common": ["index.js", "tmpdir.js"],
55
"fixtures": [
@@ -599,7 +599,6 @@
599599
"test-stream-unpipe-event.js",
600600
"test-stream-unshift-empty-chunk.js",
601601
"test-stream-unshift-read-race.js",
602-
"test-stream-writable-callback-twice.js",
603602
"test-stream-writable-change-default-encoding.js",
604603
"test-stream-writable-clear-buffer.js",
605604
"test-stream-writable-constructor-set-methods.js",

node/_tools/test/common/countdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/dns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/duplexpair.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/fixtures.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/hijackstdio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/common/index.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
import { createRequire } from 'module';
@@ -59,6 +59,8 @@ const {
5959
spawnPromisified,
6060
} = common;
6161

62+
const getPort = () => common.PORT;
63+
6264
export {
6365
isMainThread,
6466
isWindows,
@@ -107,4 +109,5 @@ export {
107109
runWithInvalidFD,
108110
createRequire,
109111
spawnPromisified,
112+
getPort,
110113
};

node/_tools/test/common/internet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
'use strict';

node/_tools/test/fixtures/a.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

node/_tools/test/fixtures/echo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// deno-lint-ignore-file
33

44
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
5-
// Taken from Node 18.8.0
5+
// Taken from Node 18.12.0
66
// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
77

88
// Copyright Joyent, Inc. and other Node contributors.

0 commit comments

Comments
 (0)