Skip to content

Commit 7245e85

Browse files
shaohui-liu2000jasnell
authored andcommitted
test: replace common.fixtureDir with fixtures
PR-URL: nodejs#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 28e6cab commit 7245e85

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

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

1112
// piping should work as expected with createWriteStream
1213

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

0 commit comments

Comments
 (0)