Test now uses callExpressionKw not positional
This commit is contained in:
committed by
Nick Cameron
parent
440173d045
commit
84cd2c0c88
@ -281,7 +281,7 @@ describe('testing getNodePathFromSourceRange', () => {
|
||||
ast,
|
||||
topLevelRange(startSourceIndex, startSourceIndex)
|
||||
)
|
||||
expect(startResult).toEqual([...expected, ['callee', 'CallExpression']])
|
||||
expect(startResult).toEqual([...expected, ['callee', 'CallExpressionKw']])
|
||||
// expect similar result when whole line is selected
|
||||
const selectWholeThing = getNodePathFromSourceRange(
|
||||
ast,
|
||||
|
Reference in New Issue
Block a user