Previously all snapshots captured was a string representation of a function (`[Function]`). This made the tests useless because the result would always be a Function no matter what and so they will always pass, even if material changes happened.
42 lines
550 B
Text
42 lines
550 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Icon test (no size) 1`] = `
|
|
<body>
|
|
<div>
|
|
<i
|
|
class="sc-gsnTZi ctUcHQ"
|
|
>
|
|
bug_report
|
|
</i>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`Icon test 1`] = `
|
|
<body>
|
|
<div>
|
|
<i
|
|
about="20px"
|
|
class="sc-gsnTZi iGhKXa"
|
|
>
|
|
bug_report
|
|
</i>
|
|
</div>
|
|
</body>
|
|
`;
|
|
|
|
exports[`IconButton test 1`] = `
|
|
<body>
|
|
<div>
|
|
<button
|
|
class="sc-bczRLJ liKoho"
|
|
>
|
|
<i
|
|
class="sc-gsnTZi ctUcHQ"
|
|
>
|
|
bug_report
|
|
</i>
|
|
</button>
|
|
</div>
|
|
</body>
|
|
`;
|