Skip to content

Commit 896f2ce

Browse files
committed
test: updated test cases
1 parent 3fffbfe commit 896f2ce

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/profile-v2/__snapshots__/ProfilePage.test.jsx.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ exports[`<ProfilePage /> Renders correctly in various states viewing other profi
4848
<div
4949
class="profile-avatar rounded-circle bg-light"
5050
>
51-
<iconmock
51+
<div
5252
aria-hidden="true"
5353
class="text-muted"
54+
data-testid="IconMock"
5455
focusable="false"
5556
role="img"
5657
viewbox="0 0 24 24"

src/profile/__snapshots__/ProfilePage.test.jsx.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ exports[`<ProfilePage /> Renders correctly in various states successfully redire
6565
Upload Photo
6666
</button>
6767
</div>
68-
<iconmock
68+
<div
6969
aria-hidden="true"
7070
class="text-muted"
71+
data-testid="IconMock"
7172
focusable="false"
7273
role="img"
7374
viewbox="0 0 24 24"
@@ -6266,9 +6267,10 @@ exports[`<ProfilePage /> Renders correctly in various states viewing other profi
62666267
<div
62676268
class="profile-avatar rounded-circle bg-light"
62686269
>
6269-
<iconmock
6270+
<div
62706271
aria-hidden="true"
62716272
class="text-muted"
6273+
data-testid="IconMock"
62726274
focusable="false"
62736275
role="img"
62746276
viewbox="0 0 24 24"

0 commit comments

Comments
 (0)