From a0ba4ac017e455452cab2cee37109bdc61aadf95 Mon Sep 17 00:00:00 2001 From: Kevin Martinez Date: Thu, 8 Feb 2024 08:32:35 -0300 Subject: [PATCH] Fix LeftMenu Unit test --- test/vitest/__tests__/components/Leftmenu.spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/vitest/__tests__/components/Leftmenu.spec.js b/test/vitest/__tests__/components/Leftmenu.spec.js index ffdaebe7b..ea1c51f8d 100644 --- a/test/vitest/__tests__/components/Leftmenu.spec.js +++ b/test/vitest/__tests__/components/Leftmenu.spec.js @@ -76,11 +76,13 @@ describe('Leftmenu', () => { it('should return a proper formated object with two child items', async () => { const expectedMenuItem = [ { + children: null, name: 'CustomerList', title: 'customer.pageTitles.list', icon: 'view_list', }, { + children: null, name: 'CustomerCreate', title: 'customer.pageTitles.createCustomer', icon: 'vn:addperson',