dappros/ethora

View on GitHub
client-reactnative/__tests__/Nft/NftTransactionList-test.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import renderer from 'react-test-renderer';
import NftTransactionList from '../../src/components/Nft/NftTransactionList';

test("renders correctly", ()=>{
 
   const tree = renderer.create(
   <NftTransactionList
   onEndReached={() => console.log("end reach")}
   transactions={{}}
    walletAddress='wallet address'
   />).toJSON();
   expect(tree).toMatchSnapshot();
 
})