Add test for function.
This commit is contained in:
parent
de47b0423f
commit
dfb279f478
3
test/fixtures/experimental/function-sent/invalid-syntax/actual.js
vendored
Normal file
3
test/fixtures/experimental/function-sent/invalid-syntax/actual.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
function* foo() {
|
||||
if (true) function.;
|
||||
}
|
||||
3
test/fixtures/experimental/function-sent/invalid-syntax/options.json
vendored
Normal file
3
test/fixtures/experimental/function-sent/invalid-syntax/options.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token (2:21)"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user