Skip to content
Snippets Groups Projects
Commit 3ddf70c2 authored by Mikkel Aas's avatar Mikkel Aas
Browse files

made a simple render test

parent 7568301c
No related branches found
No related tags found
No related merge requests found
import React from 'react';
import renderer from 'react-test-renderer';
import LoginView from '../../app/views/LoginView';
test('renders correctly', ()=>{
const tree = renderer.create(<LoginView />).toJSON();
expect(tree).toMatchSnapshot();
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment