mobil navbar set sheet image

This commit is contained in:
ogerly 2023-01-17 08:37:02 +01:00
parent 5203644283
commit 3c86d523a8
3 changed files with 5 additions and 3 deletions

View File

@ -58,7 +58,7 @@ describe('InputHour', () => {
}) })
it('has the value 0', () => { it('has the value 0', () => {
expect(wrapper.vm.currentValue).toEqual(0) expect(wrapper.vm.currentValue).toEqual(null)
}) })
it('has the label "input-field-label"', () => { it('has the label "input-field-label"', () => {

View File

@ -130,7 +130,7 @@ button.navbar-toggler > span.navbar-toggler-icon {
background-color: #f5f5f5e6; background-color: #f5f5f5e6;
} }
.sheet-img { .sheet-img {
left: 27%; left: 5%;
max-width: 61%; max-width: 61%;
} }
} }

View File

@ -286,8 +286,10 @@ describe('Community', () => {
}) })
it('set all data to the default values)', () => { it('set all data to the default values)', () => {
const now = new Date().toISOString().split('T')[0]
expect(wrapper.vm.form.id).toBe(null) expect(wrapper.vm.form.id).toBe(null)
expect(wrapper.vm.form.date).toBe('') expect(wrapper.vm.form.date.text()).toContain(now)
expect(wrapper.vm.form.memo).toBe('') expect(wrapper.vm.form.memo).toBe('')
expect(wrapper.vm.form.amount).toBe('') expect(wrapper.vm.form.amount).toBe('')
}) })