Description
SignButton.test.tsx uses await import('./SignButton') inside each test body (lines 44, 59, 72, 89), while comparable tests (TransactionButton.test.tsx, SwitchNetwork.test.tsx) use standard top-level imports. This is a minor inconsistency in testing patterns.
Steps to reproduce
- Compare import patterns in
SignButton.test.tsx with TransactionButton.test.tsx (line 5) and SwitchNetwork.test.tsx (line 4).
Expected vs actual behavior
Expected: Consistent import strategy across similar test files.
Actual: SignButton re-imports the component dynamically per test; others import once at the top.
Description
SignButton.test.tsxusesawait import('./SignButton')inside each test body (lines 44, 59, 72, 89), while comparable tests (TransactionButton.test.tsx,SwitchNetwork.test.tsx) use standard top-level imports. This is a minor inconsistency in testing patterns.Steps to reproduce
SignButton.test.tsxwithTransactionButton.test.tsx(line 5) andSwitchNetwork.test.tsx(line 4).Expected vs actual behavior
Expected: Consistent import strategy across similar test files.
Actual: SignButton re-imports the component dynamically per test; others import once at the top.