Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
apurv-wednesday committed May 14, 2024
1 parent c2e6523 commit 5a4d9db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/features/repos/components/ErrorState/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ErrorState: React.FC<ErrorStateProps> = ({ reposData, reposError, loading
if (reposError) {
repoError = reposError;
} else if (!get(reposData, "totalCount", 0)) {
repoError = i18n._("repo.repoList.error.noResults", { message: "Search Default" });
repoError = i18n._("repo.repoList.error.noResults");
}
return !loading && repoError ? (
<CustomCard color={reposError ? `${theme.palette.error.main}` : `${theme.palette.customColor.main[500]}`} data-testid="error-state">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,19 @@ exports[`<RepoList /> should render and match the snapshot 1`] = `
class="MuiTypography-root MuiTypography-body1 emotion-2"
data-testid="t"
>
Repository Name: Nextjs Bulletproof
Repository Name:
</p>
<p
class="MuiTypography-root MuiTypography-body1 emotion-2"
data-testid="t"
>
Repository full name: Nextjs Bulletproof Template
Repository full name:
</p>
<p
class="MuiTypography-root MuiTypography-body1 emotion-2"
data-testid="t"
>
Repository stars: 100
Repository stars:
</p>
</div>
</div>
Expand Down

0 comments on commit 5a4d9db

Please sign in to comment.