Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into fix/small-refactor-in-time…
Browse files Browse the repository at this point in the history
…line
  • Loading branch information
Lera24 committed Oct 3, 2024
2 parents f0b1419 + 736a627 commit a58be8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ config.global.plugins = [WebitelUi, i18n];

window.scrollTo = () => {};

vi.doMock('../../src/app/api/instance.js', axiosMock());
const axios = axiosMock();
vi.doMock('@webitel/ui-sdk/src/api/axios/generateInstance.js', () => ({
default: () => axios().default,
}));

beforeAll(async () => {
const store = (await import('../../src/app/store/index.js')).default;
Expand Down

0 comments on commit a58be8d

Please sign in to comment.