Skip to content

Commit bc6620b

Browse files
committed
chore: format files
1 parent 42bbed7 commit bc6620b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/create-testing-library-rule/detect-testing-library-utils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ export function detectTestingLibraryUtils<
490490
/**
491491
* Determines whether a given node is fireEvent method or not
492492
*/
493-
494493
const isFireEventMethod: IsFireEventMethodFn = (node) => {
495494
const fireEventUtil =
496495
findImportedTestingLibraryUtilSpecifier(FIRE_EVENT_NAME);
@@ -527,7 +526,6 @@ export function detectTestingLibraryUtils<
527526

528527
// we know it's defined at this point, but TS seems to think it is not
529528
// so here I'm enforcing it once in order to avoid using "!" operator every time
530-
531529
const definedParentMemberExpression = parentMemberExpression!;
532530

533531
// check fireEvent.click() usage

lib/node-utils/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ export function getVariableReferences(
301301
node: TSESTree.Node
302302
): TSESLint.Scope.Reference[] {
303303
if (ASTUtils.isVariableDeclarator(node)) {
304-
305304
return getDeclaredVariables(context, node)[0]?.references?.slice(1) ?? [];
306305
}
307306

0 commit comments

Comments
 (0)