Skip to content

Commit bcd818a

Browse files
sastancjihrig
authored andcommitted
test: replace common.fixturesDir usage
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]>
1 parent f3e63f2 commit bcd818a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http2-client-upload.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ if (!common.hasCrypto)
88
const assert = require('assert');
99
const http2 = require('http2');
1010
const fs = require('fs');
11-
const path = require('path');
11+
const fixtures = require('../common/fixtures');
1212

13-
const loc = path.join(common.fixturesDir, 'person.jpg');
13+
const loc = fixtures.path('person.jpg');
1414
let fileData;
1515

1616
assert(fs.existsSync(loc));

0 commit comments

Comments
 (0)