Skip to content

Commit 94c3a44

Browse files
committed
Fix ReplayableVideoAsset.spec.js
1 parent 8cd8a5a commit 94c3a44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/components/ReplayableVideoAsset.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ describe('ReplayableVideoAsset', () => {
186186
expect(control.text()).toBe('video.pause');
187187
// now end the video
188188
video.vm.$emit('ended');
189+
await flushPromises();
189190
// assert text changed and its visible
190191
expect(control.text()).toBe('video.replay');
191192
});

0 commit comments

Comments
 (0)