Pass per preset: Use full function systax in test for old Node versions
This commit is contained in:
@@ -57,7 +57,7 @@ suite("api", function () {
|
||||
plugins: [
|
||||
new Plugin({
|
||||
visitor: {
|
||||
Function(path) {
|
||||
Function: function(path) {
|
||||
var node = path.node;
|
||||
var scope = path.scope;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user