Skip to content

Commit 811118e

Browse files
davidhluMylesBorins
authored andcommitted
test: http2-respond-file-errors to fixtures module
Replace common.fixturesDir with fixtures in test-http2-respond-file-errors.js. PR-URL: #16004 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 2a5e7ec commit 811118e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

1010
const {
1111
HTTP2_HEADER_CONTENT_TYPE,
@@ -29,7 +29,7 @@ const types = {
2929
symbol: Symbol('test')
3030
};
3131

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

3434
const server = http2.createServer();
3535

0 commit comments

Comments
 (0)