Commit 0660242 1 parent a789420 commit 0660242 Copy full SHA for 0660242
File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -60,19 +60,10 @@ export default createRule({
60
60
defaultOptions : [ { types : allJestFnTypes } ] ,
61
61
create ( context ) {
62
62
const { types = allJestFnTypes } = context . options [ 0 ] || { } ;
63
- const importedFunctionsWithSource : Record < string , string > = { } ;
64
63
const functionsToImport = new Set < string > ( ) ;
65
64
let reportingNode : TSESTree . Node ;
66
65
67
66
return {
68
- ImportDeclaration ( node : TSESTree . ImportDeclaration ) {
69
- node . specifiers . forEach ( specifier => {
70
- if ( specifier . type === AST_NODE_TYPES . ImportSpecifier ) {
71
- importedFunctionsWithSource [ specifier . local . name ] =
72
- node . source . value ;
73
- }
74
- } ) ;
75
- } ,
76
67
CallExpression ( node : TSESTree . CallExpression ) {
77
68
const jestFnCall = parseJestFnCall ( node , context ) ;
78
69
You can’t perform that action at this time.
0 commit comments