From 1cf6158d5c714e0970446c4cdd4da4bc98d5ae9b Mon Sep 17 00:00:00 2001 From: martin bedouret Date: Wed, 19 Feb 2020 23:37:08 -0300 Subject: [PATCH] fix for unitest --- .../App/__tests__/App.reducer.test.js | 3 +- .../__snapshots__/Display.test.js.snap | 63 +++++++++++++++++++ .../__snapshots__/FilterBar.test.js.snap | 12 ++++ 3 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 src/components/UI/FilterBar/__snapshots__/FilterBar.test.js.snap diff --git a/src/components/App/__tests__/App.reducer.test.js b/src/components/App/__tests__/App.reducer.test.js index b04a20aa9..0180aa6d7 100644 --- a/src/components/App/__tests__/App.reducer.test.js +++ b/src/components/App/__tests__/App.reducer.test.js @@ -18,7 +18,8 @@ describe('reducer', () => { isFirstVisit: true, displaySettings: { uiSize: DISPLAY_SIZE_STANDARD, - fontSize: DISPLAY_SIZE_STANDARD + fontSize: DISPLAY_SIZE_STANDARD, + hideOutputActive: false }, navigationSettings: { active: false, diff --git a/src/components/Settings/Display/__snapshots__/Display.test.js.snap b/src/components/Settings/Display/__snapshots__/Display.test.js.snap index c273cdde6..d6393fb9e 100644 --- a/src/components/Settings/Display/__snapshots__/Display.test.js.snap +++ b/src/components/Settings/Display/__snapshots__/Display.test.js.snap @@ -141,6 +141,27 @@ exports[`Display tests default renderer 1`] = ` + + + } + secondary={ + + } + /> + + + + @@ -287,6 +308,27 @@ exports[`Display tests options behavior 1`] = ` + + + } + secondary={ + + } + /> + + + + @@ -433,6 +475,27 @@ exports[`Display tests options behavior 2`] = ` + + + } + secondary={ + + } + /> + + + + diff --git a/src/components/UI/FilterBar/__snapshots__/FilterBar.test.js.snap b/src/components/UI/FilterBar/__snapshots__/FilterBar.test.js.snap new file mode 100644 index 000000000..fec795ba6 --- /dev/null +++ b/src/components/UI/FilterBar/__snapshots__/FilterBar.test.js.snap @@ -0,0 +1,12 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FilterBar tests default renderer 1`] = ` +
+ +
+`;