Skip to content

Commit

Permalink
fix test without homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarlandian committed Mar 18, 2021
1 parent 480075b commit a565465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions spotlight-client/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ describe("navigation", () => {

const {
history: { navigate },
} = renderNavigableApp();
} = renderNavigableApp({ route: "/us-nd" });

expect(document.title).toBe("Spotlight by Recidiviz");
expect(document.title).toBe("North Dakota — Spotlight by Recidiviz");
expect(segmentMock.page).toHaveBeenCalledTimes(1);

await act(() => navigate("/us-nd/collections/prison"));
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9718,11 +9718,6 @@ lodash.includes@^4.3.0:
resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f"
integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8=

lodash.isempty@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e"
integrity sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=

lodash.isplainobject@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
Expand Down

0 comments on commit a565465

Please sign in to comment.