Skip to content

Commit 228940d

Browse files
chrisajimeneztargos
authored andcommitted
test: replace common.fixturesDir with fixtures
PR-URL: #15806 Reviewed-By: Ryan Graham <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 80b276c commit 228940d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-fs-whatwg-url.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

33
const common = require('../common');
4+
const fixtures = require('../common/fixtures');
45
const assert = require('assert');
56
const path = require('path');
67
const fs = require('fs');
@@ -15,7 +16,7 @@ function pathToFileURL(p) {
1516
return new URL(`file://${p}`);
1617
}
1718

18-
const p = path.resolve(common.fixturesDir, 'a.js');
19+
const p = path.resolve(fixtures.fixturesDir, 'a.js');
1920
const url = pathToFileURL(p);
2021

2122
assert(url instanceof URL);

0 commit comments

Comments
 (0)