import React from 'react' import { shallow } from 'enzyme' import toJSON from 'enzyme-to-json' import { PayHeader } from 'components/Pay' describe('component.Pay.PayHeader', () => { describe('onchain', () => { it('should render correctly', () => { const wrapper = shallow() expect(toJSON(wrapper)).toMatchSnapshot() }) }) describe('offchain', () => { it('should render correctly', () => { const wrapper = shallow() expect(toJSON(wrapper)).toMatchSnapshot() }) }) describe('generic', () => { it('should render correctly', () => { const wrapper = shallow() expect(toJSON(wrapper)).toMatchSnapshot() }) }) })