Skip to content

Commit 1b797fb

Browse files
committed
test: replace common.fixturesDir with fixture
1 parent 4f339b5 commit 1b797fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

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

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

0 commit comments

Comments
 (0)