UNPKG

@yoroi/portfolio

Version:

The Portfolio package of Yoroi SDK

15 lines (14 loc) 495 B
"use strict"; var _token = require("../adapters/token.mocks"); var _isNft = require("./is-nft"); describe('isNft', () => { it('should return true for NFT token', () => { const result = (0, _isNft.isNft)(_token.tokenMocks.nftCryptoKitty.info); expect(result).toBe(true); }); it('should return false for non-NFT token', () => { const result = (0, _isNft.isNft)(_token.tokenMocks.primaryETH.info); expect(result).toBe(false); }); }); //# sourceMappingURL=is-nft.test.js.map