Skip to content

Commit

Permalink
fix: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Sep 24, 2024
1 parent e2a7e51 commit 1c08e5f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,26 @@ exports[`Detours Page: Open a Detour renders detour details modal to match mocke
<header
class="l-diversion-page__header border-bottom text-bg-light"
>
<span
class="l-diversion-page__header-details"
>
<strong
class="font-m-semi me-2"
>
Last edited
</strong>
35 hours ago
</span>
<span
class="l-diversion-page__header-details"
>
<strong
class="font-m-semi me-2"
>
Created by
</strong>
fake@email.com
</span>
<button
aria-label="Close"
class="btn-close p-4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe("Detours Page: Open a Detour", () => {
jest
.mocked(fetchDetour)
.mockResolvedValue(
Ok({ updatedAt: 1726147775, author: "fake@email.com", state: snapshot })
Ok({ updatedAt: 1724834480, author: "fake@email.com", state: snapshot })
)

const { baseElement } = render(<DetourListPage />)
Expand Down

0 comments on commit 1c08e5f

Please sign in to comment.