We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9e9cc commit 187f483Copy full SHA for 187f483
test/parallel/test-fs-glob.mjs
@@ -339,6 +339,8 @@ describe('fsPromises glob', function() {
339
});
340
341
const normalizeDirent = (dirent) => relative(fixtureDir, join(dirent.parentPath, dirent.name));
342
+// The call to `join()` with only one argument is important, as
343
+// it ensures that the proper path seperators are applied.
344
const normalizePath = (path) => (isAbsolute(path) ? relative(fixtureDir, path) : join(path));
345
346
describe('glob - withFileTypes', function() {
0 commit comments