We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4097925 commit c6f45bfCopy full SHA for c6f45bf
src/components/alert/alert.spec.js
@@ -149,8 +149,9 @@ describe('alert', () => {
149
expect(wrapper.emitted('dismiss-count-down')[0][0]).toBe(2) // 3 - 1
150
151
jest.runAllTimers()
152
- expect(wrapper.emitted('dismiss-count-down').length).toBe(3)
153
- expect(wrapper.emitted('dismiss-count-down')[2][0]).toBe(0) // 3 - 3
+ expect(wrapper.emitted('dismiss-count-down').length).toBe(4)
+ expect(wrapper.emitted('dismiss-count-down')[2][0]).toBe(1) // 3 - 2
154
+ expect(wrapper.emitted('dismiss-count-down')[3][0]).toBe(0) // 3 - 3
155
156
await wrapper.vm.$nextTick()
157
expect(wrapper.isEmpty()).toBe(true)
0 commit comments