From 035c827c84e2f8c3a9eeff041d01f6401a3da717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 10 Sep 2019 15:16:56 +0200 Subject: [PATCH] Add catch param --- .../test/fixtures/yield-star/throw-method-with-catch/exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/yield-star/throw-method-with-catch/exec.js b/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/yield-star/throw-method-with-catch/exec.js index 2bc9d4e55507..0859ad463e00 100644 --- a/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/yield-star/throw-method-with-catch/exec.js +++ b/packages/babel-plugin-proposal-async-generator-functions/test/fixtures/yield-star/throw-method-with-catch/exec.js @@ -7,7 +7,7 @@ async function* inner() { log.push(2); yield "b"; log.push(3); - } catch { + } catch (e) { log.push(4); yield "c"; log.push(5);