Skip to content

Commit ebcb710

Browse files
committed
fix helpers testing
1 parent 483fc8c commit ebcb710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/build-indexes.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function generateTestsIndex(name, pkg) {
1111
const dir = `tests/${ name }`;
1212
const files = await fs.readdir(dir);
1313
return fs.writeFile(`${ dir }/index.js`, `import '../helpers/qunit-helpers';\n\n${ files
14-
.filter(it => /^(?:es|esnext|web)\./.test(it))
14+
.filter(it => /^(?:es|esnext|helpers|web)\./.test(it))
1515
.map(it => `import './${ it.slice(0, -3) }';\n`)
1616
.join('') }${ pkg !== 'core-js' ? `\nimport core from '${ pkg }';\ncore.globalThis.core = core;\n` : '' }`);
1717
}

tests/unit-pure/helpers.is-iterable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ QUnit.test('isIterable helper', assert => {
1111
return arguments;
1212
}()));
1313
assert.true(isIterable(Array.prototype));
14-
assert.true(isIterable({}));
14+
assert.false(isIterable({}));
1515
});

0 commit comments

Comments
 (0)