Skip to content

Commit

Permalink
http2: replace fixturesDir with common.fixtures
Browse files Browse the repository at this point in the history
PR-URL: #15839
Reviewed-By: Ryan Graham <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
ekulnivek authored and targos committed Oct 18, 2017
1 parent ce2eeb9 commit b0b224c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-respond-file-304.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const fixtures = require('../common/fixtures');
const http2 = require('http2');
const assert = require('assert');
const path = require('path');

const {
HTTP2_HEADER_CONTENT_TYPE,
HTTP2_HEADER_STATUS
} = http2.constants;

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

const server = http2.createServer();
server.on('stream', (stream) => {
Expand Down

0 comments on commit b0b224c

Please sign in to comment.