Skip to content

Commit e010f9c

Browse files
committed
test: replace fixturesdir use common.fixtures
1 parent fca6c58 commit e010f9c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/parallel/test-http2-respond-file-fd.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
const common = require('../common');
4+
const fixtures = require('../common/fixtures');
45
if (!common.hasCrypto)
56
common.skip('missing crypto');
67
const http2 = require('http2');
@@ -13,7 +14,8 @@ const {
1314
HTTP2_HEADER_CONTENT_LENGTH
1415
} = http2.constants;
1516

16-
const fname = path.resolve(common.fixturesDir, 'elipses.txt');
17+
const fname = path.resolve(fixtures.fixturesDir, 'elipses.txt');
18+
1719
const data = fs.readFileSync(fname);
1820
const stat = fs.statSync(fname);
1921
const fd = fs.openSync(fname, 'r');

0 commit comments

Comments
 (0)