{"ScriptPreparationCode":null,"TestCases":[{"Name":"fn","Code":"const tryCatch = async (next, fn) =\u003E {\r\n try {\r\n await fn();\r\n } catch (err) {\r\n next(err);\r\n }\r\n}\r\nconst fnn = async () =\u003E {\r\n await console.log(\u0027hello\u0027);\r\n}\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);","IsDeferred":false},{"Name":"fn error","Code":"const tryCatch = async (next, fn) =\u003E {\r\n try {\r\n await fn();\r\n } catch (err) {\r\n next(err);\r\n }\r\n}\r\nconst fnn = async () =\u003E {\r\n throw new Error(\u0022Error\u0022);\r\n}\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);\r\ntryCatch(console.error, fnn);","IsDeferred":false},{"Name":"try","Code":"const fnn = async () =\u003E {\r\n await console.log(\u0027hello\u0027);\r\n}\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();","IsDeferred":false},{"Name":"catch","Code":"const fnn = async () =\u003E {\r\n throw new Error(\u0022Error\u0022);;\r\n}\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();\r\n(async () =\u003E {\r\n try {\r\n await fnn();\r\n } catch (err) {\r\n console.error(err);\r\n }\r\n})();","IsDeferred":false}]}