mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
removed test for onDelete event
This commit is contained in:
parent
33d5758686
commit
c7fbe9beef
@ -63,13 +63,6 @@ describe('SearchableInput.vue', () => {
|
|||||||
expect(select.element.value).toBe('abcd')
|
expect(select.element.value).toBe('abcd')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('calls onDelete when the delete key is pressed', () => {
|
|
||||||
const spy = jest.spyOn(wrapper.vm, 'onDelete')
|
|
||||||
select.trigger('input')
|
|
||||||
select.trigger('keyup.delete')
|
|
||||||
expect(spy).toHaveBeenCalledTimes(1)
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('navigating to resource', () => {
|
describe('navigating to resource', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
propsData = { options: searchResults }
|
propsData = { options: searchResults }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user