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 cjihrig committed Nov 6, 2017
1 parent f3e63f2 commit bcd818a
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 bcd818a

Please sign in to comment.