upgrade to Vue 3.4.3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-02 22:33:03 +01:00
parent 2c1df319e6
commit 27cda7f222
8 changed files with 871 additions and 572 deletions

View File

@@ -7,7 +7,7 @@ import { windows } from '@/utils/helpers'
const getWrapper = () => {
return shallowMount(TimeWindows, {
props: {
activeWindow: windows[1],
modelValue: windows[1],
windows
}
})
@@ -25,7 +25,7 @@ describe('TimeWindows', () => {
const wrapper = getWrapper()
const listItems = wrapper.findAll('li')
await listItems[0]?.trigger('click')
const event = (wrapper.emitted('set-window') || [])[0][0] as Window
expect(event.label).toEqual('afgelopen uur')
const selectedWindow = (wrapper.emitted('update:modelValue') || [])[0][0] as Window
expect(selectedWindow.label).toEqual('afgelopen uur')
})
})