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 <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
sastan authored and Trott committed Nov 6, 2017
1 parent 6fb5f64 commit b55106f
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 b55106f

Please sign in to comment.