Skip to content

Commit 25fb43b

Browse files
committed
💄 Fix lint errors
1 parent 912ad31 commit 25fb43b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/standalone.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ describe('STANDALONE EXPORTS', async () => {
1313

1414
// Build list of exported subpaths
1515
const exported = {};
16-
for (const [ subpath_key, subpath_contents ] of Object.entries(packageinfo.exports)) {
17-
if ((subpath_key != '.') && (subpath_contents['import'])) {
16+
for (const [subpath_key, subpath_contents] of Object.entries(packageinfo.exports)) {
17+
if (subpath_key != '.' && subpath_contents['import']) {
1818
const imported = await import(`./../${subpath_contents['import']}`);
1919
exported[subpath_key] = Object.keys(imported);
2020
}
2121
}
2222

2323
describe('The subpath exports export the correct set of functions', () => {
24-
for (const [ key, functions ] of Object.entries(expected)) {
24+
for (const [key, functions] of Object.entries(expected)) {
2525
it(`${key} exports ${functions.length} functions (${exported[key]})`, () => {
2626
deepEqual(exported[key], functions);
2727
});

0 commit comments

Comments
 (0)