Skip to content

Commit 91d1aea

Browse files
Trotttargos
authored andcommittedJan 1, 2019
test: refactor test-esm-namespace.mjs
Remove unused `name` argument that is different from a subsequent `name` argument in a different but nearby function. This was mildly confusing to me at first, so hopefully this change clarifies things for others reading the test. PR-URL: #25117 Reviewed-By: James M Snell <[email protected]>
1 parent 2c50bcd commit 91d1aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/es-module/test-esm-namespace.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Module from 'module';
66

77
const keys = Object.entries(
88
Object.getOwnPropertyDescriptors(new Module().require('fs')))
9-
.filter(([name, d]) => d.enumerable)
9+
.filter(([ , d]) => d.enumerable)
1010
.map(([name]) => name)
1111
.concat('default')
1212
.sort();

0 commit comments

Comments
 (0)