From f833c7e336c09c1cd7fef424a8017e639d20dfa2 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Tue, 27 Oct 2020 08:21:20 -0500 Subject: Update failing unit tests - Add babel plugin to handle Jest import of SVG. Without plugin the test fails with a require.context() is undefined - Update snapshot tests that have changed - Removed globals from .eslintrc.js that were needed prior to migrating from Mocha and Chai to Jest Signed-off-by: Derick Montague Change-Id: Ibd01d2e629b5ecb47d072e277e4e9b5ae5c5f001 --- .../unit/__snapshots__/AppNavigation.spec.js.snap | 1000 +++++++++++--------- 1 file changed, 548 insertions(+), 452 deletions(-) (limited to 'tests/unit/__snapshots__/AppNavigation.spec.js.snap') diff --git a/tests/unit/__snapshots__/AppNavigation.spec.js.snap b/tests/unit/__snapshots__/AppNavigation.spec.js.snap index 3073a09b..f8984f8b 100644 --- a/tests/unit/__snapshots__/AppNavigation.spec.js.snap +++ b/tests/unit/__snapshots__/AppNavigation.spec.js.snap @@ -22,19 +22,19 @@ exports[`AppNavigation.vue should render correctly 1`] = ` > @@ -54,16 +54,16 @@ exports[`AppNavigation.vue should render correctly 1`] = ` > @@ -90,68 +90,79 @@ exports[`AppNavigation.vue should render correctly 1`] = ` - + + + + + + + + + + - + + + `; @@ -540,19 +588,19 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = ` > @@ -572,16 +620,16 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = ` > @@ -608,68 +656,79 @@ exports[`AppNavigation.vue should render with nav-container open 1`] = ` - + + + + + + + + + + - + + + `; -- cgit v1.2.3