Fix function.sent parsing
This commit is contained in:
3
test/fixtures/experimental/function-sent/enabled-inside-function/actual.js
vendored
Normal file
3
test/fixtures/experimental/function-sent/enabled-inside-function/actual.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
function foo() {
|
||||
return function.sent;
|
||||
}
|
||||
4
test/fixtures/experimental/function-sent/enabled-inside-function/options.json
vendored
Normal file
4
test/fixtures/experimental/function-sent/enabled-inside-function/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"plugins": ["functionSent"],
|
||||
"throws": "Unexpected token, expected ( (2:17)"
|
||||
}
|
||||
Reference in New Issue
Block a user