Failing test for nested async with const

This commit is contained in:
Henry Zhu
2016-03-04 18:02:21 -05:00
committed by Amjad Masad
parent 60d773f370
commit 1f92e5a15c
2 changed files with 9 additions and 2 deletions

View File

@@ -3,3 +3,9 @@ export default class Foo {
const baz = 0;
}
}
async function foo() {
async function bar() {
const baz = {};
}
}

View File

@@ -1,3 +1,4 @@
{
"plugins": ["external-helpers", "transform-async-to-generator", "transform-regenerator"]
{
"plugins": ["transform-async-to-generator"],
"presets": ["es2015"]
}