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);