Skip to content

Commit

Permalink
fixup! add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviv Keller authored Sep 26, 2024
1 parent a04da46 commit e090d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-fs-glob.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ describe('fsPromises glob', function() {
});

const normalizeDirent = (dirent) => relative(fixtureDir, join(dirent.parentPath, dirent.name));
// The call to `join()` with only one argument is important, as
// it ensures that the proper path seperators are applied.
const normalizePath = (path) => (isAbsolute(path) ? relative(fixtureDir, path) : join(path));

describe('glob - withFileTypes', function() {
Expand Down

0 comments on commit e090d49

Please sign in to comment.