Skip to content

Commit bb5bb1d

Browse files
authored
fix
1 parent b3762f6 commit bb5bb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/__tests__/visitor-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { ASTVisitor, ASTVisitorKeyMap } from '../visitor';
1111
import { BREAK, visit, visitInParallel } from '../visitor';
1212

1313
function checkVisitorFnArgs(ast: any, args: any, isEdited: boolean = false) {
14-
const [node, key, parent, path, ancestors] = args;
14+
const [node, { key, parent, path, ancestors }] = args;
1515

1616
expect(node).to.be.an.instanceof(Object);
1717
expect(node.kind).to.be.oneOf(Object.values(Kind));

0 commit comments

Comments
 (0)