This commit is contained in:
parent
195bd4c6d7
commit
7e7154525d
|
@ -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()', () => {
|
||||
|
|
Loading…
Reference in New Issue