Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 8, 2024
1 parent a7f8503 commit aa9e767
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 3 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.js");
require("core-js/modules/es.string.at-alternative.js");
require("core-js/modules/es.string.split.js");
'1.2.3'.split('.').at(-1);
[
Expand Down
4 changes: 3 additions & 1 deletion crates/swc/tests/fixture/issues-6xxx/6888/output/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require("core-js/modules/es.array.at.js");
require("core-js/modules/es.regexp.exec.js");
require("core-js/modules/es.string.at.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.split.js");
'test'.replaceAll('', '');
'1.2.3'.split('.').at(-1);
Expand Down
2 changes: 2 additions & 0 deletions crates/swc/tests/fixture/issues-8xxx/8193/output/1.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require("core-js/modules/es.object.create.js");
require("core-js/modules/esnext.object.group-by.js");
var data = [
{
name: 'a',
Expand Down
2 changes: 1 addition & 1 deletion crates/swc/tests/fixture/issues-9xxx/9544/output/1.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require("core-js/modules/web.dom-collections.for-each.js");
require("core-js/modules/es.object.to-string.js");
document.querySelectorAll('div').forEach(function(el) {
console.log(el);
});
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "core-js/modules/es.array-buffer.constructor.js";
import "core-js/modules/es.array.iterator.js";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/es.typed-array.fill.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "core-js/modules/es.array-buffer.constructor.js";
import "core-js/modules/es.array-buffer.slice.js";
import "core-js/modules/es.array.iterator.js";
import "core-js/modules/es.data-view.js";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/es.typed-array.copy-within.js";
import "core-js/modules/es.typed-array.every.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "core-js/modules/es.array-buffer.constructor.js";
import "core-js/modules/es.array-buffer.slice.js";
import "core-js/modules/es.array.iterator.js";
import "core-js/modules/es.data-view.js";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/es.typed-array.copy-within.js";
import "core-js/modules/es.typed-array.every.js";
Expand Down

0 comments on commit aa9e767

Please sign in to comment.