{"ScriptPreparationCode":null,"TestCases":[{"Name":"Extract one of methods","Code":"const module = () =\u003E {\r\n const func = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n const func2 = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n const func3 = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n return {\r\n func,\r\n func2,\r\n func3\r\n }\r\n}\r\n\r\nconst { func } = module()\r\nconsole.log(func(4, 5))","IsDeferred":false},{"Name":"Has only one method","Code":"const module = () =\u003E {\r\n const func = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n return {\r\n func\r\n }\r\n}\r\n\r\nconst { func } = module()\r\nconsole.log(func(4, 5))","IsDeferred":false},{"Name":"Use one method","Code":"const func = (a, b) =\u003E {\r\n return a \u002B b\r\n}\r\n\r\nconsole.log(func(4, 5))","IsDeferred":false},{"Name":"Return one of many methods","Code":"const module = () =\u003E {\r\n const func = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n const func2 = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n const func3 = (a, b) =\u003E {\r\n return a \u002B b\r\n }\r\n \r\n return {\r\n func\r\n }\r\n}\r\n\r\nconst { func } = module()\r\nconsole.log(func(4, 5))","IsDeferred":false}]}