mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
fix: tests
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
b7dda0cc0d
commit
8d5cfb37e8
3 changed files with 5 additions and 4 deletions
|
|
@ -191,7 +191,8 @@ describe('core: AppMenu', () => {
|
|||
})
|
||||
const wrapper = mount(AppMenu, { attachTo: document.body })
|
||||
expect(wrapper.find('.app-menu__current-app').exists()).toBe(true)
|
||||
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Administration settings')
|
||||
// Settings sub-section names are collapsed to a single "Settings" label.
|
||||
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Settings')
|
||||
})
|
||||
|
||||
it('prefers the active app over a settings entry when both are marked active', () => {
|
||||
|
|
|
|||
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue