Skip to content

Commit

Permalink
fix: make nftDetectionController not a polling controller and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed Jun 3, 2024
1 parent c58add7 commit de0943d
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 314 deletions.
2 changes: 2 additions & 0 deletions packages/assets-controllers/src/NftController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,13 @@ describe('NftController', () => {

it('should set default state', () => {
const { nftController } = setupController();
console.log('here', nftController.state);

expect(nftController.state).toStrictEqual({
allNftContracts: {},
allNfts: {},
ignoredNfts: [],
isNftFetchingInProgress: {},
});
});

Expand Down
Loading

0 comments on commit de0943d

Please sign in to comment.