mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
jest test for input publisherId commit to store
This commit is contained in:
parent
31adf5d6e2
commit
21b8110f57
@ -229,6 +229,10 @@ describe('Register', () => {
|
||||
wrapper.find('#publisherid').setValue('12345')
|
||||
})
|
||||
|
||||
it('commits openCreationsMinus to store', () => {
|
||||
expect(storeCommitMock).toBeCalledWith('publisherId', 12345)
|
||||
})
|
||||
|
||||
it('has enabled submit button when completely filled', () => {
|
||||
expect(wrapper.find('button[type="submit"]').attributes('disabled')).toBe('disabled')
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user