mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
4c37448c97
* added ipfs toggle * added placeholder valur * fixed snapshot * updated tests * updated spec file * hide input if toggle is disabled * updated e2e tests for nft image * fixed view-ercc-1155 spec * updated e2e tests for nfts * added ipfs toggle modal * updated UI for ipfs * updated tests * updated classname * added placeholder image * lint fix * removed prop ipfsEnabled and used with selector * fixed ui for ipfs toggle * updated test * updated test to handle cases * nit fix * ensure default image height match nft image
32 lines
731 B
Plaintext
32 lines
731 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`NFT Default Image should match snapshot with all provided props 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box nft-default mm-box--display-flex mm-box--rounded-lg"
|
|
data-testid="nft-default-image"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
`;
|
|
|
|
exports[`NFT Default Image should match snapshot with missing clickable prop 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box nft-default mm-box--display-flex mm-box--rounded-lg"
|
|
data-testid="nft-default-image"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
`;
|
|
|
|
exports[`NFT Default Image should render with no props 1`] = `
|
|
<div>
|
|
<div
|
|
class="mm-box nft-default mm-box--display-flex mm-box--rounded-lg"
|
|
data-testid="nft-default-image"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
`;
|