Skip to content

Commit 22b62de

Browse files
committed
Updated the test to show both active and inactive guilds.
1 parent 610805b commit 22b62de

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

web-ui/src/components/guild-results/GuildSummaryCard.test.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const guilds = [
1919
name: 'testname',
2020
lead: true
2121
}
22-
]
22+
],
23+
active: true,
2324
}
2425
];
2526

web-ui/src/components/guild-results/__snapshots__/GuildSummaryCard.test.jsx.snap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ exports[`renders correctly 1`] = `
3232
<div
3333
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
3434
>
35+
<p
36+
class="MuiTypography-root MuiTypography-body1 css-19pemnp-MuiTypography-root"
37+
>
38+
Inactive
39+
</p>
3540
<strong>
3641
Guild Leads:
3742
</strong>
@@ -94,6 +99,11 @@ exports[`renders correctly for ADMIN 1`] = `
9499
<div
95100
class="MuiCardContent-root css-46bh2p-MuiCardContent-root"
96101
>
102+
<p
103+
class="MuiTypography-root MuiTypography-body1 css-19pemnp-MuiTypography-root"
104+
>
105+
Inactive
106+
</p>
97107
<strong>
98108
Guild Leads:
99109
</strong>

0 commit comments

Comments
 (0)