Commit 489168d 1 parent d472922 commit 489168d Copy full SHA for 489168d
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 20
20
// USE OR OTHER DEALINGS IN THE SOFTWARE.
21
21
22
22
'use strict' ;
23
- const common = require ( '../common' ) ;
23
+ require ( '../common' ) ;
24
+ const fixtures = require ( '../common/fixtures' ) ;
24
25
const assert = require ( 'assert' ) ;
25
- const path = require ( 'path' ) ;
26
26
const fs = require ( 'fs' ) ;
27
- const fn = path . join ( common . fixturesDir , 'non-existent' ) ;
28
- const existingFile = path . join ( common . fixturesDir , 'exit.js' ) ;
29
- const existingFile2 = path . join ( common . fixturesDir , 'create-file.js' ) ;
30
- const existingDir = path . join ( common . fixturesDir , 'empty' ) ;
31
- const existingDir2 = path . join ( common . fixturesDir , 'keys' ) ;
27
+ const fn = fixtures . path ( 'non-existent' ) ;
28
+ const existingFile = fixtures . path ( 'exit.js' ) ;
29
+ const existingFile2 = fixtures . path ( 'create-file.js' ) ;
30
+ const existingDir = fixtures . path ( 'empty' ) ;
31
+ const existingDir2 = fixtures . path ( 'keys' ) ;
32
32
33
33
// ASYNC_CALL
34
34
You can’t perform that action at this time.
0 commit comments