fixes #5357 Convertir sección de histórico en componente reutilizable vnLog #48

Merged
alexandre merged 11 commits from 5357-vnLog-component into dev 2023-05-22 10:42:42 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit a969fb44f8 - Show all commits

View File

@ -1,5 +1,5 @@
import { vi, describe, expect, it, beforeAll, afterEach } from 'vitest';
import { createWrapper } from 'app/test/vitest/helper';
import { createWrapper, axios } from 'app/test/vitest/helper';
import VnLog from 'src/components/common/VnLog.vue';
describe('VnLog', () => {
@ -10,7 +10,7 @@ describe('VnLog', () => {
model: "Claim",
},
}).vm;
vm.route = {params: {id: 1}}
vi.spyOn(axios, 'get').mockResolvedValue({ data: true });
});
afterEach(() => {