We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
1 parent ce2eeb9 commit b0b224cCopy full SHA for b0b224c
test/parallel/test-http2-respond-file-304.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