Commit 997bc7f6 authored by Denys Mishunov's avatar Denys Mishunov

Replaced test with snapshot matching

parent f5c27935
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Form Footer Actions renders content properly 1`] = `
<footer
class="form-actions d-flex justify-content-between"
>
<div>
Bar
</div>
<div>
Foo
</div>
<div>
Abrakadabra
</div>
</footer>
`;
...@@ -24,6 +24,6 @@ describe('Form Footer Actions', () => { ...@@ -24,6 +24,6 @@ describe('Form Footer Actions', () => {
append, append,
}); });
expect(wrapper.text().replace(/\s+/g, '')).toBe(`${prepend}${defaultSlot}${append}`); expect(wrapper.element).toMatchSnapshot();
}); });
}); });
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