animiassumenda
Version:
Blox live, desktop app for managing staking accounts
15 lines (11 loc) • 373 B
JavaScript
import React from 'react';
import ShallowRenderer from 'react-test-renderer/shallow';
import App from '..';
const renderer = new ShallowRenderer();
describe('<App />', () => {
it('should render and match the snapshot', () => {
renderer.render(<App />);
const renderedOutput = renderer.getRenderOutput();
expect(renderedOutput).toMatchSnapshot();
});
});