Skip to content

Commit

Permalink
update tests for babel 8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
zxbodya committed Jun 14, 2021
1 parent 3afc67c commit a012c55
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 2 deletions.
@@ -0,0 +1,2 @@
f(...[1, 2, 3]);
f(...[1, , 3]);
@@ -0,0 +1,3 @@
{
"BABEL_8_BREAKING": false
}
@@ -0,0 +1,2 @@
f.apply(void 0, [1, 2, 3]);
f.apply(void 0, babelHelpers.arrayWithoutHoles([1,, 3]));
@@ -0,0 +1,3 @@
{
"BABEL_8_BREAKING": true
}
@@ -1,2 +1,2 @@
f.apply(void 0, [1, 2, 3]);
f.apply(void 0, babelHelpers.arrayWithoutHoles([1,, 3]));
f.apply(void 0, babelHelpers.arrayLikeToArray([1,, 3]));
@@ -0,0 +1,3 @@
new Numbers(...nums);
new Numbers(1, ...nums);
new Numbers(...[1, , 3]);
@@ -0,0 +1,3 @@
{
"BABEL_8_BREAKING": false
}
@@ -0,0 +1,3 @@
babelHelpers.construct(Numbers, babelHelpers.toConsumableArray(nums));
babelHelpers.construct(Numbers, [1].concat(babelHelpers.toConsumableArray(nums)));
babelHelpers.construct(Numbers, babelHelpers.arrayWithoutHoles([1,, 3]));
@@ -0,0 +1,3 @@
{
"BABEL_8_BREAKING": true
}
@@ -1,3 +1,3 @@
babelHelpers.construct(Numbers, babelHelpers.toConsumableArray(nums));
babelHelpers.construct(Numbers, [1].concat(babelHelpers.toConsumableArray(nums)));
babelHelpers.construct(Numbers, babelHelpers.arrayWithoutHoles([1,, 3]));
babelHelpers.construct(Numbers, babelHelpers.arrayLikeToArray([1,, 3]));

0 comments on commit a012c55

Please sign in to comment.