mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Update frontend/src/components/Inputs/InputUsername.spec.js
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
117162d366
commit
71b7a2adf3
@ -36,7 +36,7 @@ describe('UserName Form', () => {
|
||||
beforeEach(async () => {
|
||||
wrapper = Wrapper()
|
||||
await wrapper.setProps({ value: 'petra' })
|
||||
wrapper.vm.currentValue = 'petra swastiska'
|
||||
await wrapper.find('div.input-username.input[type="text"]').setValue('petra swastiska')
|
||||
})
|
||||
it('emits input event with the current value', () => {
|
||||
expect(wrapper.emitted('input')).toEqual([['petra swastiska']])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user