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 854d1e2 commit fe94e1b
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 @@ -252,6 +252,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 fe94e1b

Please sign in to comment.