@@ -83,7 +83,7 @@ type IsDebugUtilFn = (identifierNode: TSESTree.Identifier) => boolean;
83
83
type IsPresenceAssertFn = ( node : TSESTree . MemberExpression ) => boolean ;
84
84
type IsAbsenceAssertFn = ( node : TSESTree . MemberExpression ) => boolean ;
85
85
type CanReportErrorsFn = ( ) => boolean ;
86
- type FindImportedUtilSpecifierFn = (
86
+ type FindImportedTestingLibraryUtilSpecifierFn = (
87
87
specifierName : string
88
88
) => TSESTree . ImportClause | TSESTree . Identifier | undefined ;
89
89
type IsNodeComingFromTestingLibraryFn = (
@@ -117,7 +117,7 @@ export interface DetectionHelpers {
117
117
isPresenceAssert : IsPresenceAssertFn ;
118
118
isAbsenceAssert : IsAbsenceAssertFn ;
119
119
canReportErrors : CanReportErrorsFn ;
120
- findImportedUtilSpecifier : FindImportedUtilSpecifierFn ;
120
+ findImportedTestingLibraryUtilSpecifier : FindImportedTestingLibraryUtilSpecifierFn ;
121
121
isNodeComingFromTestingLibrary : IsNodeComingFromTestingLibraryFn ;
122
122
}
123
123
@@ -750,7 +750,7 @@ export function detectTestingLibraryUtils<
750
750
/**
751
751
* Finds the import util specifier related to Testing Library for a given name.
752
752
*/
753
- const findImportedTestingLibraryUtilSpecifier : FindImportedUtilSpecifierFn = (
753
+ const findImportedTestingLibraryUtilSpecifier : FindImportedTestingLibraryUtilSpecifierFn = (
754
754
specifierName
755
755
) : TSESTree . ImportClause | TSESTree . Identifier | undefined => {
756
756
const node = getCustomModuleImportNode ( ) ?? getTestingLibraryImportNode ( ) ;
@@ -902,7 +902,7 @@ export function detectTestingLibraryUtils<
902
902
isPresenceAssert,
903
903
isAbsenceAssert,
904
904
canReportErrors,
905
- findImportedUtilSpecifier : findImportedTestingLibraryUtilSpecifier ,
905
+ findImportedTestingLibraryUtilSpecifier,
906
906
isNodeComingFromTestingLibrary,
907
907
} ;
908
908
0 commit comments