Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 20, 2024
1 parent f7cc672 commit be70c7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require("core-js/modules/es.array.at.js");
require("core-js/modules/es.regexp.exec.js");
require("core-js/modules/es.string.at-alternative.js");
require("core-js/modules/es.string.at.js");
require("core-js/modules/es.string.split.js");
'1.2.3'.split('.').at(-1);
[
Expand Down
4 changes: 1 addition & 3 deletions crates/swc/tests/fixture/issues-6xxx/6888/output/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require("core-js/modules/es.array.at.js");
require("core-js/modules/es.regexp.exec.js");
require("core-js/modules/es.string.at-alternative.js");
require("core-js/modules/es.string.replace-all.js");
require("core-js/modules/es.string.replace.js");
require("core-js/modules/es.string.at.js");
require("core-js/modules/es.string.split.js");
'test'.replaceAll('', '');
'1.2.3'.split('.').at(-1);
Expand Down
2 changes: 0 additions & 2 deletions crates/swc/tests/fixture/issues-8xxx/8193/output/1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require("core-js/modules/es.object.create.js");
require("core-js/modules/esnext.object.group-by.js");
var data = [
{
name: 'a',
Expand Down
4 changes: 4 additions & 0 deletions crates/swc/tests/fixture/issues-9xxx/9544/output/1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require("core-js/modules/web.dom-collections.for-each.js");
document.querySelectorAll('div').forEach(function(el) {
console.log(el);
});

0 comments on commit be70c7d

Please sign in to comment.