Skip to content

Commit 8526791

Browse files
committed
fix
1 parent 4bc3d0f commit 8526791

File tree

2 files changed

+69
-66
lines changed

2 files changed

+69
-66
lines changed

test/common/index.mjs

Lines changed: 68 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -4,105 +4,107 @@ const require = createRequire(import.meta.url);
44
const common = require('./index.js');
55

66
const {
7-
isMainThread,
8-
isWindows,
7+
allowGlobals,
8+
buildType,
9+
canCreateSymLink,
10+
checkoutEOL,
11+
childShouldThrowAndAbort,
12+
createZeroFilledFile,
13+
enoughTestMem,
14+
expectsError,
15+
expectWarning,
16+
getArrayBufferViews,
17+
getBufferSources,
18+
getCallSite,
19+
getTTYfd,
20+
hasCrypto,
21+
hasIPv6,
22+
hasMultiLocalhost,
923
isAIX,
10-
isIBMi,
11-
isLinuxPPCBE,
12-
isSunOS,
24+
isAlive,
1325
isDumbTerminal,
1426
isFreeBSD,
15-
isOpenBSD,
27+
isIBMi,
28+
isInsideCWDWithUnusualChars,
1629
isLinux,
30+
isLinuxPPCBE,
31+
isMainThread,
32+
isOpenBSD,
1733
isOSX,
18-
enoughTestMem,
19-
buildType,
34+
isSunOS,
35+
isWindows,
2036
localIPv6Hosts,
21-
opensslCli,
22-
PIPE,
23-
hasCrypto,
24-
hasIPv6,
25-
childShouldThrowAndAbort,
26-
checkoutEOL,
27-
createZeroFilledFile,
28-
platformTimeout,
29-
allowGlobals,
3037
mustCall,
3138
mustCallAtLeast,
32-
mustSucceed,
33-
hasMultiLocalhost,
34-
skipIfDumbTerminal,
35-
skipIfEslintMissing,
36-
canCreateSymLink,
37-
getCallSite,
3839
mustNotCall,
3940
mustNotMutateObjectDeep,
41+
mustSucceed,
42+
nodeProcessAborted,
43+
opensslCli,
4044
parseTestFlags,
45+
PIPE,
46+
platformTimeout,
4147
printSkipMessage,
48+
runWithInvalidFD,
4249
skip,
43-
nodeProcessAborted,
44-
isAlive,
45-
expectWarning,
46-
expectsError,
47-
skipIfInspectorDisabled,
4850
skipIf32Bits,
49-
getArrayBufferViews,
50-
getBufferSources,
51-
getTTYfd,
52-
runWithInvalidFD,
51+
skipIfDumbTerminal,
52+
skipIfEslintMissing,
53+
skipIfInspectorDisabled,
5354
spawnPromisified,
5455
} = common;
5556

5657
const getPort = () => common.PORT;
5758

5859
export {
59-
isMainThread,
60-
isWindows,
60+
allowGlobals,
61+
buildType,
62+
canCreateSymLink,
63+
checkoutEOL,
64+
childShouldThrowAndAbort,
65+
createRequire,
66+
createZeroFilledFile,
67+
enoughTestMem,
68+
expectsError,
69+
expectWarning,
70+
getArrayBufferViews,
71+
getBufferSources,
72+
getCallSite,
73+
getPort,
74+
getTTYfd,
75+
hasCrypto,
76+
hasIPv6,
77+
hasMultiLocalhost,
6178
isAIX,
62-
isIBMi,
63-
isLinuxPPCBE,
64-
isSunOS,
79+
isAlive,
6580
isDumbTerminal,
6681
isFreeBSD,
67-
isOpenBSD,
82+
isIBMi,
83+
isInsideCWDWithUnusualChars,
6884
isLinux,
85+
isLinuxPPCBE,
86+
isMainThread,
87+
isOpenBSD,
6988
isOSX,
70-
enoughTestMem,
71-
buildType,
89+
isSunOS,
90+
isWindows,
7291
localIPv6Hosts,
73-
opensslCli,
74-
PIPE,
75-
hasCrypto,
76-
hasIPv6,
77-
childShouldThrowAndAbort,
78-
checkoutEOL,
79-
createZeroFilledFile,
80-
platformTimeout,
81-
allowGlobals,
8292
mustCall,
8393
mustCallAtLeast,
84-
mustSucceed,
85-
hasMultiLocalhost,
86-
skipIfDumbTerminal,
87-
skipIfEslintMissing,
88-
canCreateSymLink,
89-
getCallSite,
9094
mustNotCall,
9195
mustNotMutateObjectDeep,
96+
mustSucceed,
97+
nodeProcessAborted,
98+
opensslCli,
9299
parseTestFlags,
100+
PIPE,
101+
platformTimeout,
93102
printSkipMessage,
103+
runWithInvalidFD,
94104
skip,
95-
nodeProcessAborted,
96-
isAlive,
97-
expectWarning,
98-
expectsError,
99-
skipIfInspectorDisabled,
100105
skipIf32Bits,
101-
getArrayBufferViews,
102-
getBufferSources,
103-
getTTYfd,
104-
runWithInvalidFD,
105-
createRequire,
106+
skipIfDumbTerminal,
107+
skipIfEslintMissing,
108+
skipIfInspectorDisabled,
106109
spawnPromisified,
107-
getPort,
108110
};

test/parallel/test-node-output-errors.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as fixtures from '../common/fixtures.mjs';
33
import * as snapshot from '../common/assertSnapshot.js';
44
import * as os from 'node:os';
55
import { describe, it } from 'node:test';
6+
import { pathToFileURL } from 'node:url';
67

78
const skipForceColors =
89
process.config.variables.icu_gyp_path !== 'tools/icu/icu-generic.gyp' ||

0 commit comments

Comments
 (0)