Skip to content

Commit 02a9701

Browse files
committed
fix: test failed
1 parent 93bb5c9 commit 02a9701

File tree

1 file changed

+41
-39
lines changed

1 file changed

+41
-39
lines changed

tests/renderer/components/__snapshots__/settings-credits-spec.tsx.snap

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,40 @@ exports[`CreditsSettings component renders 1`] = `
2929
>
3030
<Blueprint3.Card
3131
className="contributor"
32-
elevation={0}
32+
elevation={2}
3333
interactive={true}
3434
key="felixrieseberg"
3535
onClick={[Function]}
3636
>
3737
<div
38-
className="avatar"
39-
style={
40-
Object {
41-
"backgroundImage": "url(https://avatars3.githubusercontent.com/u/1426799?v=4)",
42-
}
43-
}
44-
/>
45-
<div
46-
className="details"
38+
className="header"
4739
>
48-
<h5
49-
className="name"
50-
>
51-
Felix Rieseberg
52-
</h5>
53-
<p
54-
className="location"
55-
>
56-
📍
57-
San Francisco
58-
</p>
59-
<small
60-
className="bio"
40+
<img
41+
alt="avatar"
42+
className="avatar"
43+
src="https://avatars3.githubusercontent.com/u/1426799?v=4"
44+
/>
45+
<div
46+
className="info"
6147
>
62-
🙇 ✨🌳
63-
</small>
48+
<p
49+
className="name"
50+
>
51+
Felix Rieseberg
52+
</p>
53+
<p
54+
className="location"
55+
>
56+
📍
57+
San Francisco
58+
</p>
59+
</div>
6460
</div>
61+
<p
62+
className="bio"
63+
>
64+
🙇 ✨🌳
65+
</p>
6566
</Blueprint3.Card>
6667
</div>
6768
</div>
@@ -81,27 +82,28 @@ exports[`CreditsSettings component renders for contributors with less data 1`] =
8182
>
8283
<Blueprint3.Card
8384
className="contributor"
84-
elevation={0}
85+
elevation={2}
8586
interactive={true}
8687
key="felixrieseberg"
8788
onClick={[Function]}
8889
>
8990
<div
90-
className="avatar"
91-
style={
92-
Object {
93-
"backgroundImage": "url(https://avatars3.githubusercontent.com/u/1426799?v=4)",
94-
}
95-
}
96-
/>
97-
<div
98-
className="details"
91+
className="header"
9992
>
100-
<h5
101-
className="name"
93+
<img
94+
alt="avatar"
95+
className="avatar"
96+
src="https://avatars3.githubusercontent.com/u/1426799?v=4"
97+
/>
98+
<div
99+
className="info"
102100
>
103-
felixrieseberg
104-
</h5>
101+
<p
102+
className="name"
103+
>
104+
felixrieseberg
105+
</p>
106+
</div>
105107
</div>
106108
</Blueprint3.Card>
107109
</div>

0 commit comments

Comments
 (0)