You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/next-swc.test.ts
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -19,15 +19,15 @@ describe('next/swc', () => {
19
19
)
20
20
21
21
expect(output).toMatchInlineSnapshot(`
22
-
"function _arrayLikeToArray(arr, len) {
22
+
"function _array_like_to_array(arr, len) {
23
23
if (len == null || len > arr.length) len = arr.length;
24
24
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
25
25
return arr2;
26
26
}
27
-
function _arrayWithHoles(arr) {
27
+
function _array_with_holes(arr) {
28
28
if (Array.isArray(arr)) return arr;
29
29
}
30
-
function _iterableToArrayLimit(arr, i) {
30
+
function _iterable_to_array_limit(arr, i) {
31
31
var _i = arr == null ? null : typeof Symbol !== \\"undefined\\" && arr[Symbol.iterator] || arr[\\"@@iterator\\"];
32
32
if (_i == null) return;
33
33
var _arr = [];
@@ -51,22 +51,22 @@ describe('next/swc', () => {
51
51
}
52
52
return _arr;
53
53
}
54
-
function _nonIterableRest() {
54
+
function _non_iterable_rest() {
55
55
throw new TypeError(\\"Invalid attempt to destructure non-iterable instance.\\\\\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\\");
if (len == null || len > arr.length) len = arr.length;
85
85
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
86
86
return arr2;
87
87
}
88
-
function _arrayWithHoles(arr) {
88
+
function _array_with_holes(arr) {
89
89
if (Array.isArray(arr)) return arr;
90
90
}
91
-
function _iterableToArray(iter) {
91
+
function _iterable_to_array(iter) {
92
92
if (typeof Symbol !== \\"undefined\\" && iter[Symbol.iterator] != null || iter[\\"@@iterator\\"] != null) return Array.from(iter);
93
93
}
94
-
function _nonIterableRest() {
94
+
function _non_iterable_rest() {
95
95
throw new TypeError(\\"Invalid attempt to destructure non-iterable instance.\\\\\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\\");
0 commit comments