From 6af889615dfb04a39b658e54cf1e5b4b7906d624 Mon Sep 17 00:00:00 2001 From: Chris Jimenez Date: Fri, 6 Oct 2017 09:36:35 -0700 Subject: [PATCH] test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15806 Reviewed-By: Ryan Graham Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil --- test/parallel/test-fs-whatwg-url.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-fs-whatwg-url.js b/test/parallel/test-fs-whatwg-url.js index b9aaee9c308..21eb82700ae 100644 --- a/test/parallel/test-fs-whatwg-url.js +++ b/test/parallel/test-fs-whatwg-url.js @@ -1,6 +1,7 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); const assert = require('assert'); const path = require('path'); const fs = require('fs'); @@ -15,7 +16,7 @@ function pathToFileURL(p) { return new URL(`file://${p}`); } -const p = path.resolve(common.fixturesDir, 'a.js'); +const p = path.resolve(fixtures.fixturesDir, 'a.js'); const url = pathToFileURL(p); assert(url instanceof URL);