Skip to content

Commit dbbb36e

Browse files
seabrookmxtargos
authored andcommitted
test: update fixturesDir import
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 40d2da6 commit dbbb36e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/sequential/test-stream2-fs.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
'use strict';
23-
const common = require('../common');
23+
require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
2526

2627
const fs = require('fs');
2728
const FSReadable = fs.ReadStream;
2829

2930
const path = require('path');
30-
const file = path.resolve(common.fixturesDir, 'x1024.txt');
31+
const file = path.resolve(fixtures.path('x1024.txt'));
3132

3233
const size = fs.statSync(file).size;
3334

0 commit comments

Comments
 (0)