Skip to content

Commit 76818db

Browse files
pringelmannnextcloud-command
authored andcommitted
fix: tests
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 352d0cc commit 76818db

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

core/src/tests/components/AppMenu.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ describe('core: AppMenu', () => {
191191
})
192192
const wrapper = mount(AppMenu, { attachTo: document.body })
193193
expect(wrapper.find('.app-menu__current-app').exists()).toBe(true)
194-
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Administration settings')
194+
// Settings sub-section names are collapsed to a single "Settings" label.
195+
expect(wrapper.find('.app-menu__current-app-name').text()).toBe('Settings')
195196
})
196197

197198
it('prefers the active app over a settings entry when both are marked active', () => {

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ This file is generated from multiple sources. Included packages:
209209
- version: 11.3.0
210210
- license: MIT
211211
- axios
212-
- version: 1.15.0
212+
- version: 1.16.1
213213
- license: MIT
214214
- base64-js
215215
- version: 1.5.1

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)