add esprima tests and fix bugs picked up by it
This commit is contained in:
1
test/fixtures/experimental/async-functions/illegal-parens/actual.js
vendored
Normal file
1
test/fixtures/experimental/async-functions/illegal-parens/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var foo = async ((foo)) => {};
|
||||
3
test/fixtures/experimental/async-functions/illegal-parens/options.json
vendored
Normal file
3
test/fixtures/experimental/async-functions/illegal-parens/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token (1:24)"
|
||||
}
|
||||
Reference in New Issue
Block a user