mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix typo
Co-authored-by: Alina Beck <alina.beck@mail.com>
This commit is contained in:
parent
b916c9fe83
commit
aabaa2e637
@ -20,6 +20,7 @@ describe('Paginate.vue', () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
wrapper = Wrapper()
|
wrapper = Wrapper()
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('next button', () => {
|
describe('next button', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
propsData.hasNext = true
|
propsData.hasNext = true
|
||||||
@ -38,7 +39,7 @@ describe('Paginate.vue', () => {
|
|||||||
expect(nextButton.attributes().disabled).toBeUndefined()
|
expect(nextButton.attributes().disabled).toBeUndefined()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('emits back when clicked', async () => {
|
it('emits next when clicked', async () => {
|
||||||
await nextButton.trigger('click')
|
await nextButton.trigger('click')
|
||||||
expect(wrapper.emitted().next).toHaveLength(1)
|
expect(wrapper.emitted().next).toHaveLength(1)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user