mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update SearchableInput spec after rebase
This commit is contained in:
parent
74a7db5388
commit
1da872ba1e
@ -97,8 +97,8 @@ describe('SearchableInput.vue', () => {
|
||||
it("pushes to user's profile", async () => {
|
||||
select.element.value = 'Bob'
|
||||
select.trigger('input')
|
||||
const users = wrapper.findAll('.userinfo')
|
||||
const bob = users.filter(item => item.text() === '@bob-der-baumeister')
|
||||
const users = wrapper.findAll('.user-slug')
|
||||
const bob = users.filter(item => item.text().match(/@bob-der-baumeister/))
|
||||
bob.trigger('click')
|
||||
await Vue.nextTick()
|
||||
expect(mocks.$router.push).toHaveBeenCalledWith({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user