Skip to content

Commit 53449f3

Browse files
kagbakpemMylesBorins
authored andcommitted
test: replace fixturesDir with fixtures methods
PR-URL: #15967 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent a28d666 commit 53449f3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/parallel/test-fs-read-stream-inherit.js

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

5-
const path = require('path');
66
const fs = require('fs');
7-
const fn = path.join(common.fixturesDir, 'elipses.txt');
8-
const rangeFile = path.join(common.fixturesDir, 'x.txt');
7+
const fixtures = require('../common/fixtures');
8+
9+
const fn = fixtures.path('elipses.txt');
10+
const rangeFile = fixtures.path('x.txt');
911

1012
let paused = false;
1113

0 commit comments

Comments
 (0)