Skip to content

Commit 5803097

Browse files
committed
Add unit test for Social component
1 parent bca0f7a commit 5803097

File tree

3 files changed

+386
-4
lines changed

3 files changed

+386
-4
lines changed

src/components/__tests__/__snapshots__/footer.test.js.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports[`Footer component Matches the snapshot 1`] = `
88
className="w-full flex flex-col sm:flex-row justify-evenly py-2"
99
>
1010
<div
11-
className="ml-2 sm:ml-0 sm:mr-6 order-last sm:order-none flex"
11+
className="sm:ml-0 sm:mr-6 order-last sm:order-none flex"
1212
>
1313
<h1
1414
className="text-base font-bold font-title text-xl sm:text-2xl mt-3 sm:mt-0"
@@ -110,7 +110,9 @@ exports[`Footer component Matches the snapshot 1`] = `
110110
Releases
111111
</a>
112112
</div>
113-
<div>
113+
<div
114+
className="ml-2 sm:ml-0"
115+
>
114116
<a
115117
aria-label="Issues in rahuldkjain/github-profile-readme-generator"
116118
href="https://github.com/rahuldkjain/github-profile-readme-generator/issues"
@@ -119,7 +121,9 @@ exports[`Footer component Matches the snapshot 1`] = `
119121
Issues
120122
</a>
121123
</div>
122-
<div>
124+
<div
125+
className="ml-2 sm:ml-0"
126+
>
123127
<a
124128
aria-label="Pull Requests in rahuldkjain/github-profile-readme-generator"
125129
href="https://github.com/rahuldkjain/github-profile-readme-generator/pulls"
@@ -137,7 +141,9 @@ exports[`Footer component Matches the snapshot 1`] = `
137141
Join Community
138142
</strong>
139143
</div>
140-
<div>
144+
<div
145+
class="ml-2 sm:ml-0"
146+
>
141147
<a
142148
aria-label="Discord of the community"
143149
href="https://discord.gg/HHMs7Eg"

0 commit comments

Comments
 (0)