Commit 47ebcb1a authored by Svein Olav Styve's avatar Svein Olav Styve

Rename test description

parent 94643766
......@@ -3,7 +3,7 @@ import renderer from 'react-test-renderer';
import FavoriteSection from '../components/FavoriteSection';
// Snapshot Test FavoriteSection-component
describe('TabElement', () => {
describe('FavoriteSection', () => {
test('snapshot renders', () => {
const component = renderer.create(
<FavoriteSection open={() => {}} />);
......
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`FavoriteSection snapshot renders 1`] = `
<div
className="Button-container"
>
<button
onClick={[Function]}
>
Save as favorite
</button>
<button
onClick={[Function]}
>
Open favourite
</button>
<p>
</p>
</div>
`;
exports[`TabElement snapshot renders 1`] = `
<div
className="Button-container"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment