Browse Source

test: replace common.fixturesDir with fixture

PR-URL: https://github.com/nodejs/node/pull/15940
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v9.x-staging
BradLarson 8 years ago
committed by Ruben Bridgewater
parent
commit
3f5f847ed1
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 4
      test/parallel/test-http2-respond-file-compat.js

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

@ -4,9 +4,9 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const http2 = require('http2');
const path = require('path');
const fixtures = require('../common/fixtures');
const fname = path.resolve(common.fixturesDir, 'elipses.txt');
const fname = fixtures.path('elipses.txt');
const server = http2.createServer(common.mustCall((request, response) => {
response.stream.respondWithFile(fname);

Loading…
Cancel
Save