Skip to content

Commit

Permalink
Add test case for a nested rest element
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-kez committed Aug 30, 2021
1 parent 95af05c commit 4336cdb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Expand Up @@ -25,4 +25,5 @@ let { x8, ...y8 } = z();
let { x9: { w9: { a9, ...y9 } }, x10: { a10, ...y10 }, } = z();
let { x11: [{ w11, ...z11 }] } = z();
let { x12: [{ a12, b12 }, { c12, ...d12 }] } = z();
let { x13: [, { c13, ...d13 }] } = z();
let { x13: [, { c13, ...d13 }] } = z();
const { x14: [...{ q14, ...y14 }] } = z();
Expand Up @@ -119,3 +119,11 @@ let _z8 = z(),
}]
} = _z8,
d13 = babelHelpers.objectWithoutProperties(_z8.x13, ["c13"]);

const _z9 = z(),
{
x14: [...{
q14
}]
} = _z9,
y14 = babelHelpers.objectWithoutProperties(_z9.x14, ["q14"]);

0 comments on commit 4336cdb

Please sign in to comment.