forked from verdnatura/salix-front
Fix LeftMenu Unit test
This commit is contained in:
parent
15f7f85734
commit
a0ba4ac017
|
@ -76,11 +76,13 @@ describe('Leftmenu', () => {
|
||||||
it('should return a proper formated object with two child items', async () => {
|
it('should return a proper formated object with two child items', async () => {
|
||||||
const expectedMenuItem = [
|
const expectedMenuItem = [
|
||||||
{
|
{
|
||||||
|
children: null,
|
||||||
name: 'CustomerList',
|
name: 'CustomerList',
|
||||||
title: 'customer.pageTitles.list',
|
title: 'customer.pageTitles.list',
|
||||||
icon: 'view_list',
|
icon: 'view_list',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
children: null,
|
||||||
name: 'CustomerCreate',
|
name: 'CustomerCreate',
|
||||||
title: 'customer.pageTitles.createCustomer',
|
title: 'customer.pageTitles.createCustomer',
|
||||||
icon: 'vn:addperson',
|
icon: 'vn:addperson',
|
||||||
|
|
Loading…
Reference in New Issue