{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.assign","Code":"var params = {\r\n open: true,\r\n onToggle: {\r\n mockConstructor() { },\r\n mock() { },\r\n mockClear() { },\r\n mockReset() { },\r\n mockRestore() { },\r\n mockReturnValueOnce() { },\r\n mockResolvedValueOnce() { },\r\n mockRejectedValueOnce() { },\r\n mockReturnValue() { },\r\n mockResolvedValue() { },\r\n mockRejectedValue() { },\r\n mockImplementationOnce() { },\r\n mockImplementation() { },\r\n mockReturnThis() { },\r\n mockName() { },\r\n getMockName() { }\r\n },\r\n children: {\r\n type: \u0027div\u0027,\r\n key: null,\r\n ref: null,\r\n props: {\r\n children: \u0027children\u0027\r\n },\r\n _owner: null,\r\n _store: { }\r\n },\r\n dataTrackClick: \u0027dataTrackClick\u0027,\r\n dataTrackId: \u0027dataTrackId\u0027,\r\n noBodyScroll: true\r\n};\r\n\r\nvar other = Object.assign({}, params, { open: false });","IsDeferred":false},{"Name":"spread operator","Code":"var params = {\r\n open: true,\r\n onToggle: {\r\n mockConstructor() { },\r\n mock() { },\r\n mockClear() { },\r\n mockReset() { },\r\n mockRestore() { },\r\n mockReturnValueOnce() { },\r\n mockResolvedValueOnce() { },\r\n mockRejectedValueOnce() { },\r\n mockReturnValue() { },\r\n mockResolvedValue() { },\r\n mockRejectedValue() { },\r\n mockImplementationOnce() { },\r\n mockImplementation() { },\r\n mockReturnThis() { },\r\n mockName() { },\r\n getMockName() { }\r\n },\r\n children: {\r\n type: \u0027div\u0027,\r\n key: null,\r\n ref: null,\r\n props: {\r\n children: \u0027children\u0027\r\n },\r\n _owner: null,\r\n _store: { }\r\n },\r\n dataTrackClick: \u0027dataTrackClick\u0027,\r\n dataTrackId: \u0027dataTrackId\u0027,\r\n noBodyScroll: true\r\n};\r\n\r\nvar other = { ...params, open: false };","IsDeferred":false}]}