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 26536e4 commit 7df8e0bCopy full SHA for 7df8e0b
test/parallel/test-http2-respond-file-compat.js
@@ -5,9 +5,9 @@ const common = require('../common');
5
if (!common.hasCrypto)
6
common.skip('missing crypto');
7
const http2 = require('http2');
8
-const path = require('path');
+const fixtures = require('../common/fixtures');
9
10
-const fname = path.resolve(common.fixturesDir, 'elipses.txt');
+const fname = fixtures.path('elipses.txt');
11
12
const server = http2.createServer(common.mustCall((request, response) => {
13
response.stream.respondWithFile(fname);
0 commit comments