Skip to content

Commit

Permalink
test: sync tests with new PickNode signature
Browse files Browse the repository at this point in the history
  • Loading branch information
auvred committed Jan 21, 2024
1 parent 2f95b81 commit 1d86ffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/internal/match-stuff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export type TestExtractChildDeps = [
]

export type TestPickNode = [
Expect<Equal<PickNode<'CallExpression'>, TSESTree.CallExpression>>,
Expect<Equal<PickNode<'ExportNamedDeclaration'>, TSESTree.ExportNamedDeclaration>>,
Expect<Equal<PickNode<'something'>, never>>,
Expect<Equal<PickNode<'CallExpression', TSESTree.Node>, TSESTree.CallExpression>>,
Expect<Equal<PickNode<'ExportNamedDeclaration', TSESTree.Node>, TSESTree.ExportNamedDeclaration>>,
Expect<Equal<PickNode<'something', TSESTree.Node>, never>>,
]

export type TestTryToParseAttrValue = [
Expand Down

0 comments on commit 1d86ffb

Please sign in to comment.