From d462302fa41bca94a141cb03dcb8906379a223c6 Mon Sep 17 00:00:00 2001 From: Sascha Tandel Date: Mon, 6 Nov 2017 14:32:49 +0000 Subject: [PATCH] test: replace `common.fixturesDir` usage use `common/fixtures` module instead --- test/parallel/test-http2-client-upload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http2-client-upload.js b/test/parallel/test-http2-client-upload.js index c9c6ebaa7a2236..cfba97696ce227 100644 --- a/test/parallel/test-http2-client-upload.js +++ b/test/parallel/test-http2-client-upload.js @@ -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));