Testing GridItem + AddFruit components
This commit is contained in:
18
tests/unit/__snapshots__/GridItem.spec.js.snap
Normal file
18
tests/unit/__snapshots__/GridItem.spec.js.snap
Normal file
@@ -0,0 +1,18 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Test GridItem component. takes a snapshot of the component. 1`] = `
|
||||
<article class="grid-item">
|
||||
<!---->
|
||||
<router-link-stub to="/fruit/3">
|
||||
<div class="thumbnail"><img src="/image/path.jpg" alt="banana"></div>
|
||||
<section>
|
||||
<h3>
|
||||
banana
|
||||
<span class="tag" style="background-color: rgb(118, 62, 68);">Handcrafted</span>
|
||||
</h3>
|
||||
<hr>
|
||||
<p class="price">$907</p>
|
||||
</section>
|
||||
</router-link-stub>
|
||||
</article>
|
||||
`;
|
||||
Reference in New Issue
Block a user