{"ScriptPreparationCode":"var params = { a: 1, b: 2 };","TestCases":[{"Name":"ramda filter true","Code":"const x = true\r\n\r\nvar result = [\r\n x ? {a: 3, b: 4} : null,\r\n {\r\n a: params.a,\r\n b: params.b\r\n }\r\n]\r\n\r\nresult.filter(R.identity)","IsDeferred":false},{"Name":"ramda filter false","Code":"const x = false\r\n\r\nvar result = [\r\n x ? {a: 3, b: 4} : null,\r\n {\r\n a: params.a,\r\n b: params.b\r\n }\r\n]\r\n\r\nresult.filter(R.identity)","IsDeferred":false},{"Name":"Boolean true","Code":"const x = true\r\n\r\nvar result = [\r\n x ? {a: 3, b: 4} : null,\r\n {\r\n a: params.a,\r\n b: params.b\r\n }\r\n]\r\n\r\nresult.filter(Boolean)","IsDeferred":false},{"Name":"Boolean false","Code":"const x = true\r\n\r\nvar result = [\r\n x ? {a: 3, b: 4} : null,\r\n {\r\n a: params.a,\r\n b: params.b\r\n }\r\n]\r\n\r\nresult.filter(Boolean)","IsDeferred":false}]}