Failing test for nested async with const
This commit is contained in:
@@ -3,3 +3,9 @@ export default class Foo {
|
||||
const baz = 0;
|
||||
}
|
||||
}
|
||||
|
||||
async function foo() {
|
||||
async function bar() {
|
||||
const baz = {};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-async-to-generator", "transform-regenerator"]
|
||||
{
|
||||
"plugins": ["transform-async-to-generator"],
|
||||
"presets": ["es2015"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user