File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
2- const common = require ( '../common' ) ;
2+ require ( '../common' ) ;
3+ const fixtures = require ( '../common/fixtures' ) ;
34const assert = require ( 'assert' ) ;
4- const path = require ( 'path' ) ;
55const 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' ) ;
1111
1212// ASYNC_CALL
1313
You can’t perform that action at this time.
0 commit comments