Skip to content

Commit 4555d02

Browse files
committed
simplify
1 parent 6ee268d commit 4555d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/commonjs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let PATH;
1010

1111
function load(...components) {
1212
const path = join(PATH, ...components);
13-
if (!tested.has(path)) tested.add(path);
13+
tested.add(path);
1414
expected.delete(path);
1515
return require(path);
1616
}

0 commit comments

Comments
 (0)