From 1e9993347b9d9031c690bbd1baa6d86c0f7c097f Mon Sep 17 00:00:00 2001 From: Artur Tagisow Date: Fri, 10 Jun 2022 13:04:13 +0200 Subject: [PATCH] test: add BottomNavigation tests --- .../theme/components/BottomNavigation.vue | 21 ++- .../__tests__/BottomNavigation.spec.ts | 157 ++++++++++++++++++ packages/theme/jest-setup.js | 5 +- packages/theme/test-utils/mocks/useUiState.ts | 1 + 4 files changed, 179 insertions(+), 5 deletions(-) create mode 100644 packages/theme/components/__tests__/BottomNavigation.spec.ts diff --git a/packages/theme/components/BottomNavigation.vue b/packages/theme/components/BottomNavigation.vue index 2c389fdd9..74194fe8b 100644 --- a/packages/theme/components/BottomNavigation.vue +++ b/packages/theme/components/BottomNavigation.vue @@ -4,7 +4,8 @@