Skip to content

Commit

Permalink
refactor(assets-controllers): Simplify NftController tests
Browse files Browse the repository at this point in the history
The `NftController` tests now use mocks instead of real
`AssetsContractController` and `PreferencesController` instances. This
should make the tests easier to read, and it further decouples them
from those controllers.

Additionally, the `setupController` helper method has been updated to
accept a partial set of controller options rather than custom options.

Relates to #3708
  • Loading branch information
Gudahtt committed Jan 5, 2024
1 parent e5d9e4b commit 42a0cbb
Showing 1 changed file with 439 additions and 770 deletions.
Loading

0 comments on commit 42a0cbb

Please sign in to comment.