| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 76fa6b2 commit 5ffb5b6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,16 +13,16 @@ The `common` module is used by tests for consistency across repeated | |||
| 13 | 13 | tasks. | |
| 14 | 14 | ||
| 15 | 15 | ### allowGlobals(...whitelist) | |
| 16 | - * `whitelist` [<Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) Array of Globals | ||
| 17 | - * return [<Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) | ||
| 16 | + * `whitelist` [<Array>] Array of Globals | ||
| 17 | + * return [<Array>] | ||
| 18 | 18 | ||
| 19 | 19 | Takes `whitelist` and concats that with predefined `knownGlobals`. | |
| 20 | 20 | ||
| 21 | 21 | ### arrayStream | |
| 22 | 22 | A stream to push an array into a REPL | |
| 23 | 23 | ||
| 24 | 24 | ### busyLoop(time) | |
| 25 | - * `time` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | ||
| 25 | + * `time` [<Number>] | ||
| 26 | 26 | ||
| 27 | 27 | Blocks for `time` amount of time. | |
| 28 | 28 | ||
@@ -41,183 +41,185 @@ no unexpected rejections occur, because currently they result in silent | |||
| 41 | 41 | failures. | |
| 42 | 42 | ||
| 43 | 43 | ### ddCommand(filename, kilobytes) | |
| 44 | - * return [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 44 | + * return [<Object>] | ||
| 45 | 45 | ||
| 46 | 46 | Platform normalizes the `dd` command | |
| 47 | 47 | ||
| 48 | 48 | ### enoughTestMem | |
| 49 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 49 | + * return [<Boolean>] | ||
| 50 | 50 | ||
| 51 | 51 | Check if there is more than 1gb of total memory. | |
| 52 | 52 | ||
| 53 | 53 | ### expectsError([fn, ]settings[, exact]) | |
| 54 | - * `fn` [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) | ||
| 55 | - * `settings` [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 54 | + * `fn` [<Function>] | ||
| 55 | + * `settings` [<Object>] | ||
| 56 | 56 | with the following optional properties: | |
| 57 | - * `code` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 57 | + * `code` [<String>] | ||
| 58 | 58 | expected error must have this value for its `code` property | |
| 59 | - * `type` [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) | ||
| 59 | + * `type` [<Function>] | ||
| 60 | 60 | expected error must be an instance of `type` | |
| 61 | - * `message` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 62 | - or [<RegExp>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp) | ||
| 61 | + * `message` [<String>] | ||
| 62 | + or [<RegExp>] | ||
| 63 | 63 | if a string is provided for `message`, expected error must have it for its | |
| 64 | 64 | `message` property; if a regular expression is provided for `message`, the | |
| 65 | 65 | regular expression must match the `message` property of the expected error | |
| 66 | - * `exact` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) default = 1 | ||
| 66 | + * `exact` [<Number>] default = 1 | ||
| 67 | 67 | ||
| 68 | 68 | * return function suitable for use as a validation function passed as the second | |
| 69 | - argument to e.g. `assert.throws()`. If the returned function has not been called | ||
| 70 | - exactly `exact` number of times when the test is complete, then the test will | ||
| 71 | - fail. | ||
| 69 | + argument to e.g. `assert.throws()`. If the returned function has not been | ||
| 70 | + called exactly `exact` number of times when the test is complete, then the | ||
| 71 | + test will fail. | ||
| 72 | 72 | ||
| 73 | 73 | If `fn` is provided, it will be passed to `assert.throws` as first argument. | |
| 74 | 74 | ||
| 75 | 75 | The expected error should be [subclassed by the `internal/errors` module](https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md#api). | |
| 76 | 76 | ||
| 77 | 77 | ### expectWarning(name, expected) | |
| 78 | - * `name` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 79 | - * `expected` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | [<Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) | ||
| 78 | + * `name` [<String>] | ||
| 79 | + * `expected` [<String>] | [<Array>] | ||
| 80 | 80 | ||
| 81 | 81 | Tests whether `name` and `expected` are part of a raised warning. | |
| 82 | 82 | ||
| 83 | 83 | ### fileExists(pathname) | |
| 84 | - * pathname [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 85 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 84 | + * pathname [<String>] | ||
| 85 | + * return [<Boolean>] | ||
| 86 | 86 | ||
| 87 | 87 | Checks if `pathname` exists | |
| 88 | 88 | ||
| 89 | 89 | ### fixturesDir | |
| 90 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 90 | + * return [<String>] | ||
| 91 | 91 | ||
| 92 | 92 | Path to the 'fixtures' directory. | |
| 93 | 93 | ||
| 94 | 94 | ### getArrayBufferViews(buf) | |
| 95 | - * `buf` [<Buffer>](https://nodejs.org/api/buffer.html#buffer_class_buffer) | ||
| 96 | - * return [<ArrayBufferView[]>](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) | ||
| 95 | + * `buf` [<Buffer>] | ||
| 96 | + * return [<ArrayBufferView[]>] | ||
| 97 | 97 | ||
| 98 | 98 | Returns an instance of all possible `ArrayBufferView`s of the provided Buffer. | |
| 99 | 99 | ||
| 100 | 100 | ### globalCheck | |
| 101 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 101 | + * return [<Boolean>] | ||
| 102 | 102 | ||
| 103 | 103 | Turn this off if the test should not check for global leaks. | |
| 104 | 104 | ||
| 105 | 105 | ### hasCrypto | |
| 106 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 106 | + * return [<Boolean>] | ||
| 107 | 107 | ||
| 108 | 108 | Checks for 'openssl'. | |
| 109 | 109 | ||
| 110 | 110 | ### hasFipsCrypto | |
| 111 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 111 | + * return [<Boolean>] | ||
| 112 | 112 | ||
| 113 | 113 | Checks `hasCrypto` and `crypto` with fips. | |
| 114 | 114 | ||
| 115 | 115 | ### hasIntl | |
| 116 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 116 | + * return [<Boolean>] | ||
| 117 | 117 | ||
| 118 | 118 | Checks if [internationalization] is supported. | |
| 119 | 119 | ||
| 120 | 120 | ### hasSmallICU | |
| 121 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 121 | + * return [<Boolean>] | ||
| 122 | 122 | ||
| 123 | 123 | Checks `hasIntl` and `small-icu` is supported. | |
| 124 | 124 | ||
| 125 | 125 | ### hasIPv6 | |
| 126 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 126 | + * return [<Boolean>] | ||
| 127 | 127 | ||
| 128 | 128 | Checks whether `IPv6` is supported on this platform. | |
| 129 | 129 | ||
| 130 | 130 | ### hasMultiLocalhost | |
| 131 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 131 | + * return [<Boolean>] | ||
| 132 | 132 | ||
| 133 | 133 | Checks if there are multiple localhosts available. | |
| 134 | 134 | ||
| 135 | 135 | ### hijackStderr(listener) | |
| 136 | - * `listener` [<Function>][MDN-Function]: a listener with a single parameter called `data`. | ||
| 136 | + * `listener` [<Function>]: a listener with a single parameter | ||
| 137 | + called `data`. | ||
| 137 | 138 | ||
| 138 | 139 | Eavesdrop to `process.stderr.write` calls. Once `process.stderr.write` is | |
| 139 | 140 | called, `listener` will also be called and the `data` of `write` function will | |
| 140 | 141 | be passed to `listener`. What's more, `process.stderr.writeTimes` is a count of | |
| 141 | 142 | the number of calls. | |
| 142 | 143 | ||
| 143 | 144 | ### hijackStdout(listener) | |
| 144 | - * `listener` [<Function>][MDN-Function]: a listener with a single parameter called `data`. | ||
| 145 | + * `listener` [<Function>]: a listener with a single parameter | ||
| 146 | + called `data`. | ||
| 145 | 147 | ||
| 146 | 148 | Eavesdrop to `process.stdout.write` calls. Once `process.stdout.write` is | |
| 147 | 149 | called, `listener` will also be called and the `data` of `write` function will | |
| 148 | 150 | be passed to `listener`. What's more, `process.stdout.writeTimes` is a count of | |
| 149 | 151 | the number of calls. | |
| 150 | 152 | ||
| 151 | 153 | ### inFreeBSDJail | |
| 152 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 154 | + * return [<Boolean>] | ||
| 153 | 155 | ||
| 154 | 156 | Checks whether free BSD Jail is true or false. | |
| 155 | 157 | ||
| 156 | 158 | ### isAix | |
| 157 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 159 | + * return [<Boolean>] | ||
| 158 | 160 | ||
| 159 | 161 | Platform check for Advanced Interactive eXecutive (AIX). | |
| 160 | 162 | ||
| 161 | 163 | ### isAlive(pid) | |
| 162 | - * `pid` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | ||
| 163 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 164 | + * `pid` [<Number>] | ||
| 165 | + * return [<Boolean>] | ||
| 164 | 166 | ||
| 165 | 167 | Attempts to 'kill' `pid` | |
| 166 | 168 | ||
| 167 | 169 | ### isFreeBSD | |
| 168 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 170 | + * return [<Boolean>] | ||
| 169 | 171 | ||
| 170 | 172 | Platform check for Free BSD. | |
| 171 | 173 | ||
| 172 | 174 | ### isLinux | |
| 173 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 175 | + * return [<Boolean>] | ||
| 174 | 176 | ||
| 175 | 177 | Platform check for Linux. | |
| 176 | 178 | ||
| 177 | 179 | ### isLinuxPPCBE | |
| 178 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 180 | + * return [<Boolean>] | ||
| 179 | 181 | ||
| 180 | 182 | Platform check for Linux on PowerPC. | |
| 181 | 183 | ||
| 182 | 184 | ### isOSX | |
| 183 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 185 | + * return [<Boolean>] | ||
| 184 | 186 | ||
| 185 | 187 | Platform check for macOS. | |
| 186 | 188 | ||
| 187 | 189 | ### isSunOS | |
| 188 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 190 | + * return [<Boolean>] | ||
| 189 | 191 | ||
| 190 | 192 | Platform check for SunOS. | |
| 191 | 193 | ||
| 192 | 194 | ### isWindows | |
| 193 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 195 | + * return [<Boolean>] | ||
| 194 | 196 | ||
| 195 | 197 | Platform check for Windows. | |
| 196 | 198 | ||
| 197 | 199 | ### isWOW64 | |
| 198 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 200 | + * return [<Boolean>] | ||
| 199 | 201 | ||
| 200 | 202 | Platform check for Windows 32-bit on Windows 64-bit. | |
| 201 | 203 | ||
| 202 | 204 | ### leakedGlobals | |
| 203 | - * return [<Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) | ||
| 205 | + * return [<Array>] | ||
| 204 | 206 | ||
| 205 | 207 | Checks whether any globals are not on the `knownGlobals` list. | |
| 206 | 208 | ||
| 207 | 209 | ### localhostIPv4 | |
| 208 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 210 | + * return [<String>] | ||
| 209 | 211 | ||
| 210 | 212 | Gets IP of localhost | |
| 211 | 213 | ||
| 212 | 214 | ### localIPv6Hosts | |
| 213 | - * return [<Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) | ||
| 215 | + * return [<Array>] | ||
| 214 | 216 | ||
| 215 | 217 | Array of IPV6 hosts. | |
| 216 | 218 | ||
| 217 | 219 | ### mustCall([fn][, exact]) | |
| 218 | - * `fn` [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) default = () => {} | ||
| 219 | - * `exact` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) default = 1 | ||
| 220 | - * return [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) | ||
| 220 | + * `fn` [<Function>] default = () => {} | ||
| 221 | + * `exact` [<Number>] default = 1 | ||
| 222 | + * return [<Function>] | ||
| 221 | 223 | ||
| 222 | 224 | Returns a function that calls `fn`. If the returned function has not been called | |
| 223 | 225 | exactly `exact` number of times when the test is complete, then the test will | |
@@ -226,9 +228,9 @@ fail. | |||
| 226 | 228 | If `fn` is not provided, an empty function will be used. | |
| 227 | 229 | ||
| 228 | 230 | ### mustCallAtLeast([fn][, minimum]) | |
| 229 | - * `fn` [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) default = () => {} | ||
| 230 | - * `minimum` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) default = 1 | ||
| 231 | - * return [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) | ||
| 231 | + * `fn` [<Function>] default = () => {} | ||
| 232 | + * `minimum` [<Number>] default = 1 | ||
| 233 | + * return [<Function>] | ||
| 232 | 234 | ||
| 233 | 235 | Returns a function that calls `fn`. If the returned function has not been called | |
| 234 | 236 | at least `minimum` number of times when the test is complete, then the test will | |
@@ -237,46 +239,49 @@ fail. | |||
| 237 | 239 | If `fn` is not provided, an empty function will be used. | |
| 238 | 240 | ||
| 239 | 241 | ### mustNotCall([msg]) | |
| 240 | - * `msg` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) default = 'function should not have been called' | ||
| 241 | - * return [<Function>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) | ||
| 242 | + * `msg` [<String>] default = 'function should not have been called' | ||
| 243 | + * return [<Function>] | ||
| 242 | 244 | ||
| 243 | - Returns a function that triggers an `AssertionError` if it is invoked. `msg` is used as the error message for the `AssertionError`. | ||
| 245 | + Returns a function that triggers an `AssertionError` if it is invoked. `msg` is | ||
| 246 | + used as the error message for the `AssertionError`. | ||
| 244 | 247 | ||
| 245 | 248 | ### nodeProcessAborted(exitCode, signal) | |
| 246 | - * `exitCode` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | ||
| 247 | - * `signal` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 248 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 249 | + * `exitCode` [<Number>] | ||
| 250 | + * `signal` [<String>] | ||
| 251 | + * return [<Boolean>] | ||
| 249 | 252 | ||
| 250 | - 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. | ||
| 253 | + Returns `true` if the exit code `exitCode` and/or signal name `signal` represent | ||
| 254 | + the exit code and/or signal name of a node process that aborted, `false` | ||
| 255 | + otherwise. | ||
| 251 | 256 | ||
| 252 | 257 | ### opensslCli | |
| 253 | - * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) | ||
| 258 | + * return [<Boolean>] | ||
| 254 | 259 | ||
| 255 | 260 | Checks whether 'opensslCli' is supported. | |
| 256 | 261 | ||
| 257 | 262 | ### platformTimeout(ms) | |
| 258 | - * `ms` [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | ||
| 259 | - * return [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) | ||
| 263 | + * `ms` [<Number>] | ||
| 264 | + * return [<Number>] | ||
| 260 | 265 | ||
| 261 | 266 | Platform normalizes timeout. | |
| 262 | 267 | ||
| 263 | 268 | ### PIPE | |
| 264 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 269 | + * return [<String>] | ||
| 265 | 270 | ||
| 266 | 271 | Path to the test sock. | |
| 267 | 272 | ||
| 268 | 273 | ### PORT | |
| 269 | - * return [<Number>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) default = `12346` | ||
| 274 | + * return [<Number>] default = `12346` | ||
| 270 | 275 | ||
| 271 | 276 | Port tests are running on. | |
| 272 | 277 | ||
| 273 | 278 | ### printSkipMessage(msg) | |
| 274 | - * `msg` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 279 | + * `msg` [<String>] | ||
| 275 | 280 | ||
| 276 | 281 | Logs '1..0 # Skipped: ' + `msg` | |
| 277 | 282 | ||
| 278 | 283 | ### refreshTmpDir | |
| 279 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 284 | + * return [<String>] | ||
| 280 | 285 | ||
| 281 | 286 | Deletes the 'tmp' dir and recreates it | |
| 282 | 287 | ||
@@ -289,34 +294,34 @@ Restore the original `process.stderr.write`. | |||
| 289 | 294 | Restore the original `process.stdout.write`. | |
| 290 | 295 | ||
| 291 | 296 | ### rootDir | |
| 292 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 297 | + * return [<String>] | ||
| 293 | 298 | ||
| 294 | 299 | Path to the 'root' directory. either `/` or `c:\\` (windows) | |
| 295 | 300 | ||
| 296 | 301 | ### skip(msg) | |
| 297 | - * `msg` [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 302 | + * `msg` [<String>] | ||
| 298 | 303 | ||
| 299 | 304 | Logs '1..0 # Skipped: ' + `msg` and exits with exit code `0`. | |
| 300 | 305 | ||
| 301 | 306 | ### spawnPwd(options) | |
| 302 | - * `options` [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 303 | - * return [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 307 | + * `options` [<Object>] | ||
| 308 | + * return [<Object>] | ||
| 304 | 309 | ||
| 305 | 310 | Platform normalizes the `pwd` command. | |
| 306 | 311 | ||
| 307 | 312 | ### spawnSyncPwd(options) | |
| 308 | - * `options` [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 309 | - * return [<Object>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) | ||
| 313 | + * `options` [<Object>] | ||
| 314 | + * return [<Object>] | ||
| 310 | 315 | ||
| 311 | 316 | Synchronous version of `spawnPwd`. | |
| 312 | 317 | ||
| 313 | 318 | ### tmpDir | |
| 314 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 319 | + * return [<String>] | ||
| 315 | 320 | ||
| 316 | 321 | The realpath of the 'tmp' directory. | |
| 317 | 322 | ||
| 318 | 323 | ### tmpDirName | |
| 319 | - * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | ||
| 324 | + * return [<String>] | ||
| 320 | 325 | ||
| 321 | 326 | Name of the temp directory used by tests. | |
| 322 | 327 | ||
@@ -329,5 +334,13 @@ Node.js | |||
| 329 | 334 | implementation with tests from | |
| 330 | 335 | [W3C Web Platform Tests](https://github.com/w3c/web-platform-tests). | |
| 331 | 336 | ||
| 332 | - [MDN-Function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Normal_objects_and_functions | ||
| 337 | + [<Array>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array | ||
| 338 | + [<ArrayBufferView[]>]: https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView | ||
| 339 | + [<Boolean>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type | ||
| 340 | + [<Buffer>]: https://nodejs.org/api/buffer.html#buffer_class_buffer | ||
| 341 | + [<Function>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function | ||
| 342 | + [<Number>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type | ||
| 343 | + [<Object>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object | ||
| 344 | + [<RegExp>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp | ||
| 345 | + [<String>]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type | ||
| 333 | 346 | [internationalization]: https://github.com/nodejs/node/wiki/Intl | |
| Back | FazBrowse Home | New Git URL |
0 commit comments