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 <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
  • Loading branch information
seabrookmx authored and MylesBorins committed Nov 28, 2017
1 parent 53449f3 commit c10594f
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
@@ -1,12 +1,13 @@
'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 c10594f

Please sign in to comment.