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 1
1
'use strict' ;
2
- const common = require ( '../common' ) ;
2
+ require ( '../common' ) ;
3
+ const fixtures = require ( '../common/fixtures' ) ;
3
4
const assert = require ( 'assert' ) ;
4
- const path = require ( 'path' ) ;
5
5
const fs = require ( 'fs' ) ;
6
- const fn = path . join ( common . fixturesDir , 'non-existent' ) ;
7
- const existingFile = path . join ( common . fixturesDir , 'exit.js' ) ;
8
- const existingFile2 = path . join ( common . fixturesDir , 'create-file.js' ) ;
9
- const existingDir = path . join ( common . fixturesDir , 'empty' ) ;
10
- const existingDir2 = path . join ( common . fixturesDir , 'keys' ) ;
6
+ const fn = fixtures . path ( 'non-existent' ) ;
7
+ const existingFile = fixtures . path ( 'exit.js' ) ;
8
+ const existingFile2 = fixtures . path ( 'create-file.js' ) ;
9
+ const existingDir = fixtures . path ( 'empty' ) ;
10
+ const existingDir2 = fixtures . path ( 'keys' ) ;
11
11
12
12
// ASYNC_CALL
13
13
You can’t perform that action at this time.
0 commit comments