Skip to content

SignButton test uses per-test dynamic imports unlike similar tests #455

@gabitoesmiapodo

Description

@gabitoesmiapodo

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

  1. 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.

Metadata

Metadata

Labels

bugSomething isn't workingseverity: lowCosmetic or minor inconvenience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions