Skip to content

Commit 7df8e0b

Browse files
PanguinoMylesBorins
authored andcommitted
test: replace common.fixturesDir with fixture
PR-URL: #15940 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 26536e4 commit 7df8e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
77
const http2 = require('http2');
8-
const path = require('path');
8+
const fixtures = require('../common/fixtures');
99

10-
const fname = path.resolve(common.fixturesDir, 'elipses.txt');
10+
const fname = fixtures.path('elipses.txt');
1111

1212
const server = http2.createServer(common.mustCall((request, response) => {
1313
response.stream.respondWithFile(fname);

0 commit comments

Comments
 (0)