@@ -26,12 +26,14 @@ A stream to push an array into a REPL
26
26
27
27
Blocks for ` time ` amount of time.
28
28
29
- ### canCreateSymLink
30
- API to indicate whether the current running process can create
31
- symlinks. On Windows, this returns false if the process running
32
- doesn't have privileges to create symlinks (specifically
33
- [ SeCreateSymbolicLinkPrivilege] ( https://msdn.microsoft.com/en-us/library/windows/desktop/bb530716(v=vs.85).aspx ) ).
34
- On non-Windows platforms, this currently returns true.
29
+ ### canCreateSymLink()
30
+ * return [ < ; Boolean>]
31
+
32
+ Checks whether the current running process can create symlinks. On Windows, this
33
+ returns ` false ` if the process running doesn't have privileges to create
34
+ symlinks
35
+ ([ SeCreateSymbolicLinkPrivilege] ( https://msdn.microsoft.com/en-us/library/windows/desktop/bb530716(v=vs.85).aspx ) ).
36
+ On non-Windows platforms, this always returns ` true ` .
35
37
36
38
### crashOnUnhandledRejection()
37
39
@@ -46,9 +48,9 @@ failures.
46
48
Platform normalizes the ` dd ` command
47
49
48
50
### enoughTestMem
49
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
51
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
50
52
51
- Check if there is more than 1gb of total memory.
53
+ Indicates if there is more than 1gb of total memory.
52
54
53
55
### expectsError(settings)
54
56
* ` settings ` [ < ; Object>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object )
@@ -81,7 +83,7 @@ Tests whether `name` and `expected` are part of a raised warning.
81
83
Checks if ` pathname ` exists
82
84
83
85
### fixturesDir
84
- * return [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
86
+ * [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
85
87
86
88
Path to the 'fixtures' directory.
87
89
@@ -92,37 +94,37 @@ Path to the 'fixtures' directory.
92
94
Returns an instance of all possible ` ArrayBufferView ` s of the provided Buffer.
93
95
94
96
### globalCheck
95
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
97
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
96
98
97
- Turn this off if the test should not check for global leaks.
99
+ Set to ` false ` if the test should not check for global leaks.
98
100
99
101
### hasCrypto
100
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
102
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
101
103
102
- Checks for 'openssl' .
104
+ Indicates whether OpenSSL is available .
103
105
104
106
### hasFipsCrypto
105
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
107
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
106
108
107
- Checks ` hasCrypto ` and ` crypto ` with fips.
109
+ Indicates ` hasCrypto ` and ` crypto ` with fips.
108
110
109
111
### hasIPv6
110
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
112
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
111
113
112
- Checks whether ` IPv6 ` is supported on this platform.
114
+ Indicates whether ` IPv6 ` is supported on this platform.
113
115
114
116
### hasMultiLocalhost
115
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
117
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
116
118
117
- Checks if there are multiple localhosts available.
119
+ Indicates if there are multiple localhosts available.
118
120
119
121
### inFreeBSDJail
120
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
122
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
121
123
122
124
Checks whether free BSD Jail is true or false.
123
125
124
126
### isAix
125
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
127
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
126
128
127
129
Platform check for Advanced Interactive eXecutive (AIX).
128
130
@@ -133,54 +135,54 @@ Platform check for Advanced Interactive eXecutive (AIX).
133
135
Attempts to 'kill' ` pid `
134
136
135
137
### isFreeBSD
136
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
138
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
137
139
138
140
Platform check for Free BSD.
139
141
140
142
### isLinux
141
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
143
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
142
144
143
145
Platform check for Linux.
144
146
145
147
### isLinuxPPCBE
146
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
148
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
147
149
148
150
Platform check for Linux on PowerPC.
149
151
150
152
### isOSX
151
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
153
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
152
154
153
155
Platform check for macOS.
154
156
155
157
### isSunOS
156
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
158
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
157
159
158
160
Platform check for SunOS.
159
161
160
162
### isWindows
161
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
163
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
162
164
163
165
Platform check for Windows.
164
166
165
167
### isWOW64
166
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
168
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
167
169
168
170
Platform check for Windows 32-bit on Windows 64-bit.
169
171
170
172
### leakedGlobals
171
- * return [ < ; Array>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array )
173
+ * [ < ; Array>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array )
172
174
173
- Checks whether any globals are not on the ` knownGlobals ` list.
175
+ Indicates whether any globals are not on the ` knownGlobals ` list.
174
176
175
177
### localhostIPv4
176
- * return [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
178
+ * [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
177
179
178
- Gets IP of localhost
180
+ IP of ` localhost ` .
179
181
180
182
### localIPv6Hosts
181
- * return [ < ; Array>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array )
183
+ * [ < ; Array>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array )
182
184
183
- Array of IPV6 hosts .
185
+ Array of IPV6 representations for ` localhost ` .
184
186
185
187
### mustCall([ fn] [ , exact ] )
186
188
* ` fn ` [ < ; Function>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function ) default = () => {}
@@ -218,9 +220,9 @@ Returns a function that triggers an `AssertionError` if it is invoked. `msg` is
218
220
Returns ` true ` if the exit code ` exitCode ` and/or signal name ` signal ` represent the exit code and/or signal name of a node process that aborted, ` false ` otherwise.
219
221
220
222
### opensslCli
221
- * return [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
223
+ * [ < ; Boolean>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type )
222
224
223
- Checks whether 'opensslCli' is supported.
225
+ Indicates whether 'opensslCli' is supported.
224
226
225
227
### platformTimeout(ms)
226
228
* ` ms ` [ < ; Number>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type )
@@ -229,14 +231,14 @@ Checks whether 'opensslCli' is supported.
229
231
Platform normalizes timeout.
230
232
231
233
### PIPE
232
- * return [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
234
+ * [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
233
235
234
- Path to the test sock .
236
+ Path to the test socket .
235
237
236
238
### PORT
237
- * return [ < ; Number>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type ) default = ` 12346 `
239
+ * [ < ; Number>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type ) default = ` 12346 `
238
240
239
- Port tests are running on .
241
+ A port number for tests to use if one is needed .
240
242
241
243
### printSkipMessage(msg)
242
244
* ` msg ` [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
@@ -249,7 +251,7 @@ Logs '1..0 # Skipped: ' + `msg`
249
251
Deletes the 'tmp' dir and recreates it
250
252
251
253
### rootDir
252
- * return [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
254
+ * [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
253
255
254
256
Path to the 'root' directory. either ` / ` or ` c:\\ ` (windows)
255
257
@@ -271,7 +273,7 @@ Platform normalizes the `pwd` command.
271
273
Synchronous version of ` spawnPwd ` .
272
274
273
275
### tmpDir
274
- * return [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
276
+ * [ < ; String>] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type )
275
277
276
278
The realpath of the 'tmp' directory.
277
279
0 commit comments