Skip to content

Commit

Permalink
test: replace common.fixturesDir usage
Browse files Browse the repository at this point in the history
Use `common/fixtures` module instead in test-http2-client-upload.js

PR-URL: #16800
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
sastan authored and MylesBorins committed Nov 16, 2017
1 parent 480f14a commit 7b14917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-client-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ if (!common.hasCrypto)
const assert = require('assert');
const http2 = require('http2');
const fs = require('fs');
const path = require('path');
const fixtures = require('../common/fixtures');

const loc = path.join(common.fixturesDir, 'person.jpg');
const loc = fixtures.path('person.jpg');
let fileData;

assert(fs.existsSync(loc));
Expand Down

0 comments on commit 7b14917

Please sign in to comment.