Skip to content

Commit f7c0870

Browse files
shaohui-liu2000targos
authored andcommitted
test: replace common.fixtureDir with fixtures
PR-URL: #15816 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 81f16a9 commit f7c0870

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-http2-compat-serverrequest-pipe.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
const common = require('../common');
55
if (!common.hasCrypto)
66
common.skip('missing crypto');
7+
const fixtures = require('../common/fixtures');
78
const assert = require('assert');
89
const http2 = require('http2');
910
const fs = require('fs');
1011
const path = require('path');
1112

1213
// piping should work as expected with createWriteStream
1314

14-
const loc = path.join(common.fixturesDir, 'person.jpg');
15+
const loc = fixtures.path('person.jpg');
1516
const fn = path.join(common.tmpDir, 'http2pipe.jpg');
1617
common.refreshTmpDir();
1718

0 commit comments

Comments
 (0)