From fcdbc5034e03b02ffa426440f9d21fd8a7b37b11 Mon Sep 17 00:00:00 2001 From: Ben Warzeski Date: Tue, 26 Oct 2021 15:34:49 -0400 Subject: [PATCH] fix: update snapshot mocking --- src/containers/ListView/ListViewBreadcrumb.test.jsx | 4 ++++ .../ListView/__snapshots__/ListViewBreadcrumb.test.jsx.snap | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/containers/ListView/ListViewBreadcrumb.test.jsx b/src/containers/ListView/ListViewBreadcrumb.test.jsx index dcd4812..28da8cb 100644 --- a/src/containers/ListView/ListViewBreadcrumb.test.jsx +++ b/src/containers/ListView/ListViewBreadcrumb.test.jsx @@ -18,6 +18,10 @@ jest.mock('@edx/paragon', () => ({ Hyperlink: () => 'Hyperlink', Icon: () => 'Icon', })); +jest.mock('@edx/paragon/icons', () => ({ + ArrowBack: 'icons.ArrowBack', + Launch: 'icons.Launch', +})); jest.mock('data/selectors', () => ({ __esModule: true, diff --git a/src/containers/ListView/__snapshots__/ListViewBreadcrumb.test.jsx.snap b/src/containers/ListView/__snapshots__/ListViewBreadcrumb.test.jsx.snap index 4a97ff4..8faf79a 100644 --- a/src/containers/ListView/__snapshots__/ListViewBreadcrumb.test.jsx.snap +++ b/src/containers/ListView/__snapshots__/ListViewBreadcrumb.test.jsx.snap @@ -6,7 +6,7 @@ exports[`ListViewBreadcrumb component component snapshot: empty (no list data) 1 className="py-4" destination="openResponseUrl(test-course-id)" > - Back to all open responses @@ -20,7 +20,7 @@ exports[`ListViewBreadcrumb component component snapshot: empty (no list data) 1 target="_blank" >