Skip to content

Commit 398bc10

Browse files
committed
feat: add test
1 parent 38d8440 commit 398bc10

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/assets-controllers/src/NftController.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,13 @@ describe('NftController', () => {
250250
});
251251
});
252252

253+
it('should set api key', async () => {
254+
const { nftController } = setupController();
255+
256+
nftController.setApiKey('testkey');
257+
expect(nftController.openSeaApiKey).toBe('testkey');
258+
});
259+
253260
describe('watchNft', function () {
254261
const ERC721_NFT = {
255262
address: ERC721_NFT_ADDRESS,

0 commit comments

Comments
 (0)