Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit cf2a712

Browse files
committed
test(icon): add sanity test
1 parent 5ae7190 commit cf2a712

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`should render properly 1`] = `
4+
<DocumentFragment>
5+
<svg
6+
class="css-13otjrl"
7+
viewBox="0 0 24 24"
8+
>
9+
10+
11+
<g
12+
stroke="currentColor"
13+
strokewidth="1.5"
14+
>
15+
16+
17+
<path
18+
d="M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"
19+
fill="none"
20+
strokelinecap="round"
21+
/>
22+
23+
24+
<path
25+
d="M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"
26+
fill="currentColor"
27+
strokelinecap="round"
28+
/>
29+
30+
31+
<circle
32+
cx="12"
33+
cy="12"
34+
fill="none"
35+
r="11.25"
36+
strokemiterlimit="10"
37+
/>
38+
39+
40+
</g>
41+
42+
43+
</svg>
44+
</DocumentFragment>
45+
`;

packages/c-icon/tests/c-icon.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import { CIcon } from '../src'
44
it('should render properly', () => {
55
const { asFragment } = render(CIcon)
66
expect(asFragment()).toMatchSnapshot()
7-
})
7+
})

0 commit comments

Comments
 (0)