We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca6c58 commit e010f9cCopy full SHA for e010f9c
1 file changed
test/parallel/test-http2-respond-file-fd.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
const common = require('../common');
4
+const fixtures = require('../common/fixtures');
5
if (!common.hasCrypto)
6
common.skip('missing crypto');
7
const http2 = require('http2');
@@ -13,7 +14,8 @@ const {
13
14
HTTP2_HEADER_CONTENT_LENGTH
15
} = http2.constants;
16
-const fname = path.resolve(common.fixturesDir, 'elipses.txt');
17
+const fname = path.resolve(fixtures.fixturesDir, 'elipses.txt');
18
+
19
const data = fs.readFileSync(fname);
20
const stat = fs.statSync(fname);
21
const fd = fs.openSync(fname, 'r');
0 commit comments