Skip to content

Commit b0f07ea

Browse files
committed
fix entries tests
1 parent d5c72c3 commit b0f07ea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/entries/unit.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ for (PATH of ['@core-js/pure', 'core-js']) {
752752
ok(load(NS, 'number/clamp')(6, 2, 4) === 4);
753753
ok(load(NS, 'number/prototype/clamp').call(6, 2, 4) === 4);
754754
ok(load(NS, 'promise/all-keyed')({}) instanceof Promise);
755+
ok(load(NS, 'promise/all-settled-keyed')({}) instanceof Promise);
755756
ok(load(NS, 'set/from')([1, 2, 3, 2, 1]) instanceof Set);
756757
ok(load(NS, 'set/of')(1, 2, 3, 2, 1) instanceof Set);
757758
ok(load(NS, 'string/cooked')`a${ 1 }b` === 'a1b');
@@ -857,12 +858,12 @@ for (PATH of ['@core-js/pure', 'core-js']) {
857858
load('stage/0');
858859

859860
for (const key in entries) {
860-
if (key.startsWith('core-js/modules/')) {
861-
load('modules', key.slice(16));
861+
if (key.startsWith('modules/')) {
862+
load('modules', key.slice(8));
862863
}
863864
}
864865

865-
ok(load());
866+
ok(load('index'));
866867
}
867868

868869
for (const NS of ['es', 'stable', 'actual', 'full']) {

0 commit comments

Comments
 (0)