{"ScriptPreparationCode":null,"TestCases":[{"Name":"OR Object","Code":"const props = {}\r\nconst defaultLatestReturn = {\r\n __typename: \u0027\u0027,\r\n carrierReturnOrderNumbers: null,\r\n endTime: null,\r\n key: \u0027\u0027,\r\n orderLines: [],\r\n paymentType: null,\r\n pickupDate: null,\r\n returnMethod: null,\r\n startTime: null,\r\n status: \u0027\u0027,\r\n};\r\nconst { latestReturn } = props;\r\nconst { status } = latestReturn || defaultLatestReturn;","IsDeferred":false},{"Name":"OR Function","Code":"const props = {}\r\nconst defaultLatestReturnFunc = () =\u003E ({\r\n __typename: \u0027\u0027,\r\n carrierReturnOrderNumbers: null,\r\n endTime: null,\r\n key: \u0027\u0027,\r\n orderLines: [],\r\n paymentType: null,\r\n pickupDate: null,\r\n returnMethod: null,\r\n startTime: null,\r\n status: \u0027\u0027,\r\n});\r\nconst { latestReturn } = props;\r\nconst { status } = latestReturn || defaultLatestReturnFunc();","IsDeferred":false},{"Name":"OR func ok","Code":"const props = { latestReturn: {} }\r\nconst defaultLatestReturnFunc = () =\u003E ({\r\n __typename: \u0027\u0027,\r\n carrierReturnOrderNumbers: null,\r\n endTime: null,\r\n key: \u0027\u0027,\r\n orderLines: [],\r\n paymentType: null,\r\n pickupDate: null,\r\n returnMethod: null,\r\n startTime: null,\r\n status: \u0027\u0027,\r\n});\r\nconst { latestReturn } = props;\r\nconst { status } = latestReturn || defaultLatestReturnFunc();","IsDeferred":false},{"Name":"Or obj ok","Code":"const props = { latestReturn: {} }\r\nconst defaultLatestReturn = {\r\n __typename: \u0027\u0027,\r\n carrierReturnOrderNumbers: null,\r\n endTime: null,\r\n key: \u0027\u0027,\r\n orderLines: [],\r\n paymentType: null,\r\n pickupDate: null,\r\n returnMethod: null,\r\n startTime: null,\r\n status: \u0027\u0027,\r\n};\r\nconst { latestReturn } = props;\r\nconst { status } = latestReturn || defaultLatestReturn;","IsDeferred":false}]}