refs #5835 fix front test
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-11-22 10:08:51 +01:00
parent 195bd4c6d7
commit 7e7154525d
1 changed files with 2 additions and 2 deletions

View File

@ -6,15 +6,15 @@ describe('InvoiceInIntrastat', () => {
let vm;
beforeAll(() => {
vi.spyOn(axios, 'get').mockResolvedValue({ data: [{}] });
vm = createWrapper(InvoiceInIntrastat, {
global: {
stubs: [],
stubs: ['vnPaginate'],
mocks: {
fetch: vi.fn(),
},
},
}).vm;
vi.spyOn(axios, 'get').mockResolvedValue({ data: [{}] });
});
describe('getTotal()', () => {