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 44719ed commit a224760Copy full SHA for a224760
test/parallel/test-http2-respond-file-204.js
@@ -4,16 +4,16 @@
4
const common = require('../common');
5
if (!common.hasCrypto)
6
common.skip('missing crypto');
7
+const fixtures = require('../common/fixtures');
8
const http2 = require('http2');
9
const assert = require('assert');
-const path = require('path');
10
11
const {
12
HTTP2_HEADER_CONTENT_TYPE,
13
HTTP2_HEADER_STATUS
14
} = http2.constants;
15
16
-const fname = path.resolve(common.fixturesDir, 'elipses.txt');
+const fname = fixtures.path('elipses.txt');
17
18
const server = http2.createServer();
19
server.on('stream', (stream) => {
0 commit comments