Skip to content

Commit fe94e1b

Browse files
committed
feat: add test
1 parent 854d1e2 commit fe94e1b

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
@@ -252,6 +252,13 @@ describe('NftController', () => {
252252
});
253253
});
254254

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

0 commit comments

Comments
 (0)