From d6cd44b389feefb71386097427d2eb45adf6087c Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 25 Oct 2022 14:41:38 +0200 Subject: [PATCH] Updated unit test --- src/components/SmartCard.vue | 6 +++--- src/composables/__tests__/useModule.spec.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/SmartCard.vue b/src/components/SmartCard.vue index b7b95a659..b43c920ad 100644 --- a/src/components/SmartCard.vue +++ b/src/components/SmartCard.vue @@ -152,9 +152,9 @@ async function onLoad(...params) { - - - + + + diff --git a/src/composables/__tests__/useModule.spec.js b/src/composables/__tests__/useModule.spec.js index 57ce981c3..d706612cd 100644 --- a/src/composables/__tests__/useModule.spec.js +++ b/src/composables/__tests__/useModule.spec.js @@ -4,7 +4,7 @@ const navigation = useNavigation(); describe('useNavigation', () => { it('should return the routes for all modules', async () => { - expect(navigation.modules.value.length).toEqual(3); + expect(navigation.modules.value.length).toBeGreaterThan(1); }); it('should return a proper formated object without the children property', async () => {