{"ScriptPreparationCode":null,"TestCases":[{"Name":"big object","Code":"const typography = {}\r\nconst lineHeight = 10;\r\nconst textColor = \u0027red\u0027;\r\nconst align = \u0022left\u0022;\r\nconst transform = \u0027\u0027\r\nconst underline = undefined;\r\nconst strokeThrough = undefined;\r\n\r\nconst fn = () =\u003E ({\r\n ...typography,\r\n lineHeight,\r\n color: textColor,\r\n textAlign: align,\r\n textTransform: transform,\r\n ...(underline \u0026\u0026 {\r\n ...defaultStyles.underline,\r\n textDecorationColor: textColor,\r\n }),\r\n ...(strokeThrough \u0026\u0026 {\r\n ...defaultStyles.strokeThrough,\r\n textDecorationColor: textColor,\r\n }),\r\n })\r\n \r\n fn()","IsDeferred":false},{"Name":"if","Code":"const typography = {}\r\nconst lineHeight = 10;\r\nconst textColor = \u0027red\u0027;\r\nconst align = \u0022left\u0022;\r\nconst transform = \u0027\u0027\r\nconst underline = undefined;\r\nconst strokeThrough = undefined;\r\n\r\nconst fn = () =\u003E {\r\n \tconst resp = {\r\n lineHeight,\r\n color: textColor,\r\n textAlign: align,\r\n textTransform: transform,\r\n };\r\n \r\n \tif(underline) {\r\n resp.underline=truel\r\n }\r\n \r\n if(strokeThrough) {\r\n resp.strokeThrouh = true\r\n }\r\n \r\n return Object.assign(typography, resp)\r\n}\r\nfn()","IsDeferred":false}]}