Commit f46ce556 authored by Svein Olav Styve's avatar Svein Olav Styve

#15 Fix test

parent e1e21169
......@@ -13,7 +13,7 @@ describe('My Test Suite', () => {
// Snapshot Test Title-component
describe('Title', () => {
test('snapshot renders', () => {
const component = renderer.create(<Title artworkId={1}
const component = renderer.create(<Title artwork={1}
categorySelections={{
textCat: 1,
imageCat: 1,
......
......@@ -4,6 +4,6 @@ exports[`Title snapshot renders 1`] = `
<h1
className="Title"
>
undefined, txt 2, img 2, audio 2
Artwork 2, txt 2, img 2, audio 2
</h1>
`;
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