{"ScriptPreparationCode":"var startDate = new Date();\r\nvar endDate = new Date();","TestCases":[{"Name":"ES6 spread","Code":"const state = {\r\n filterableRoles: [],\r\n predefinedFilters: [],\r\n dynamicFilters: [],\r\n checkedRoles: [],\r\n checkedUsers: [],\r\n checkedJobStatus: [],\r\n startDate: null,\r\n endDate: null,\r\n isLoading: false\r\n };\r\nconst result = { ...state, startDate, endDate };","IsDeferred":false},{"Name":"lodash assign","Code":"const state = {\r\n filterableRoles: [],\r\n predefinedFilters: [],\r\n dynamicFilters: [],\r\n checkedRoles: [],\r\n checkedUsers: [],\r\n checkedJobStatus: [],\r\n startDate: null,\r\n endDate: null,\r\n isLoading: false\r\n };\r\nconst result = _.assign({}, state, { startDate, endDate });","IsDeferred":false}]}