Skip to content

Commit c20dbb9

Browse files
committed
fix: remove wrong boolean check for detection
1 parent 8ceb80f commit c20dbb9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/detect-testing-library-utils.ts

-4
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@ export function detectTestingLibraryUtils<
170170
referenceNodeIdentifier
171171
);
172172

173-
if (!importedUtilSpecifier) {
174-
return false;
175-
}
176-
177173
const originalNodeName =
178174
isImportSpecifier(importedUtilSpecifier) &&
179175
importedUtilSpecifier.local.name !== importedUtilSpecifier.imported.name

0 commit comments

Comments
 (0)