Skip to content

Commit c10594f

Browse files
seabrookmxMylesBorins
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 <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 53449f3 commit c10594f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/sequential/test-stream2-fs.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
'use strict';
2-
const common = require('../common');
2+
require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45

56
const fs = require('fs');
67
const FSReadable = fs.ReadStream;
78

89
const path = require('path');
9-
const file = path.resolve(common.fixturesDir, 'x1024.txt');
10+
const file = path.resolve(fixtures.path('x1024.txt'));
1011

1112
const size = fs.statSync(file).size;
1213

0 commit comments

Comments
 (0)