Skip to content

Commit

Permalink
test: update fixturesDir import
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
seabrookmx authored and targos committed Oct 18, 2017
1 parent 40d2da6 commit dbbb36e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/sequential/test-stream2-fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
const common = require('../common');
require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');

const fs = require('fs');
const FSReadable = fs.ReadStream;

const path = require('path');
const file = path.resolve(common.fixturesDir, 'x1024.txt');
const file = path.resolve(fixtures.path('x1024.txt'));

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

Expand Down

0 comments on commit dbbb36e

Please sign in to comment.