mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Vitest unit test configs completed. All tests pass
This commit is contained in:
parent
cb3e230f5f
commit
eb2de5460c
33 changed files with 116 additions and 66 deletions
|
@ -46,7 +46,9 @@ describe('Message.vue', () => {
|
|||
});
|
||||
|
||||
it('should sticky and life works', async () => {
|
||||
jest.runTimersToTime(3001);
|
||||
expect(wrapper.vm.visible).toBe(false);
|
||||
setTimeout(() => {
|
||||
expect(wrapper.vm.visible).toBe(false);
|
||||
}, 3000);
|
||||
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue