mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
11 lines
302 B
JavaScript
11 lines
302 B
JavaScript
const _excluded = ["x"];
|
|
expect(() => {
|
|
var _ref = null,
|
|
x = babelHelpers.extends({}, (babelHelpers.objectDestructuringEmpty(_ref), _ref));
|
|
}).toThrow(/null/);
|
|
expect(() => {
|
|
var _ref2 = null,
|
|
x = _ref2.x,
|
|
y = babelHelpers.objectWithoutProperties(_ref2, _excluded);
|
|
}).toThrow(/null/);
|