sidebar doc updates

This commit is contained in:
Bahadır Sofuoğlu 2023-01-04 13:12:04 +03:00
parent 33ac6be80c
commit 52f5e5b9a6
5 changed files with 16 additions and 9 deletions

View file

@ -70,14 +70,6 @@ describe('Sidebar.vue', () => {
expect(bindOutsideClickListenerSpy).toHaveBeenCalled();
});
/* it('When transition trigger to onAfterLeave, bindOutsideClickListener should be triggered', async () => {
const bindOutsideClickListenerSpy = vi.spyOn(wrapper.vm, 'bindOutsideClickListener');
await wrapper.vm.onAfterLeave();
expect(bindOutsideClickListenerSpy).toHaveBeenCalled();
}); */
it('When keydown is triggered , hide method should be triggered', async () => {
const hideSpy = vi.spyOn(wrapper.vm, 'hide');