File tree 2 files changed +1
-8
lines changed
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,6 @@ Returns a new promise that will propagate `promise` resolution or rejection if
124
124
that happens within the ` timeoutMs ` timespan, or rejects with ` error ` as
125
125
a reason otherwise.
126
126
127
- ### fixturesDir
128
- * return [ < ; String>]
129
-
130
- Path to the 'fixtures' directory.
131
-
132
127
### getArrayBufferViews(buf)
133
128
* ` buf ` [ < ; Buffer>]
134
129
* return [ < ; ArrayBufferView[ ;] ; >]
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ const testRoot = process.env.NODE_TEST_DIR ?
36
36
37
37
const noop = ( ) => { } ;
38
38
39
- exports . fixturesDir = fixturesDir ;
40
-
41
39
// Using a `.` prefixed name, which is the convention for "hidden" on POSIX,
42
40
// gets tools to ignore it by default or by simple rules, especially eslint.
43
41
let tmpDirName = '.tmp' ;
@@ -314,7 +312,7 @@ exports.childShouldThrowAndAbort = function() {
314
312
315
313
exports . ddCommand = function ( filename , kilobytes ) {
316
314
if ( exports . isWindows ) {
317
- const p = path . resolve ( exports . fixturesDir , 'create-file.js' ) ;
315
+ const p = path . resolve ( fixturesDir , 'create-file.js' ) ;
318
316
return `"${ process . argv [ 0 ] } " "${ p } " "${ filename } " ${ kilobytes * 1024 } ` ;
319
317
} else {
320
318
return `dd if=/dev/zero of="${ filename } " bs=1024 count=${ kilobytes } ` ;
You can’t perform that action at this time.
0 commit comments