Skip to content

Commit

Permalink
feat: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed Mar 14, 2024
1 parent 38d8440 commit 398bc10
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/assets-controllers/src/NftController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ describe('NftController', () => {
});
});

it('should set api key', async () => {
const { nftController } = setupController();

nftController.setApiKey('testkey');
expect(nftController.openSeaApiKey).toBe('testkey');
});

describe('watchNft', function () {
const ERC721_NFT = {
address: ERC721_NFT_ADDRESS,
Expand Down

0 comments on commit 398bc10

Please sign in to comment.