fix sidebar unit tests

This commit is contained in:
mahula 2022-12-08 12:28:52 +01:00
parent 0afd7fcd6a
commit eb88644761

View File

@ -61,7 +61,7 @@ describe('Sidebar', () => {
describe('the specific section', () => {
describe('for standard users', () => {
it('has three nav-item', () => {
expect(wrapper.findAll('ul').at(1).findAll('.nav-item')).toHaveLength(4)
expect(wrapper.findAll('ul').at(1).findAll('.nav-item')).toHaveLength(3)
})
it('has nav-item "navigation.info" in navbar', () => {
@ -90,7 +90,7 @@ describe('Sidebar', () => {
})
it('has four nav-item', () => {
expect(wrapper.findAll('ul').at(1).findAll('.nav-item')).toHaveLength(5)
expect(wrapper.findAll('ul').at(1).findAll('.nav-item')).toHaveLength(4)
})
it('has nav-item "navigation.info" in navbar', () => {