Vitest unit test configs completed. All tests pass

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 16:17:12 +03:00
parent cb3e230f5f
commit eb2de5460c
33 changed files with 116 additions and 66 deletions

View file

@ -19,7 +19,7 @@ describe('Chips.vue', () => {
});
it('should add item', async () => {
const addItem = jest.spyOn(wrapper.vm, 'addItem');
const addItem = vi.spyOn(wrapper.vm, 'addItem');
await wrapper.vm.addItem({}, 'PrimeVue', false);