Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Wallet/__tests__/Wallet.test.js
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | test('Without wallet defined', () => { | ||||
const component = renderer.create( | const component = renderer.create( | ||||
<Router> | <Router> | ||||
<Wallet /> | <Wallet /> | ||||
</Router>, | </Router>, | ||||
); | ); | ||||
let tree = component.toJSON(); | let tree = component.toJSON(); | ||||
expect(tree).toMatchSnapshot(); | expect(tree).toMatchSnapshot(); | ||||
}); | }); | ||||
// test("Wallet with BCH balances and tokens", () => { | |||||
// useContextMock.mockReturnValue({ wallet: { mnemonic: 'test mnemonic' } }); | |||||
// const component = renderer.create( | |||||
// <Configure />, | |||||
// ); | |||||
// let tree = component.toJSON(); | |||||
// expect(tree).toMatchSnapshot(); | |||||
// }); |