We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b276c commit 228940dCopy full SHA for 228940d
test/parallel/test-fs-whatwg-url.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
const common = require('../common');
4
+const fixtures = require('../common/fixtures');
5
const assert = require('assert');
6
const path = require('path');
7
const fs = require('fs');
@@ -15,7 +16,7 @@ function pathToFileURL(p) {
15
16
return new URL(`file://${p}`);
17
}
18
-const p = path.resolve(common.fixturesDir, 'a.js');
19
+const p = path.resolve(fixtures.fixturesDir, 'a.js');
20
const url = pathToFileURL(p);
21
22
assert(url instanceof URL);
0 commit comments