portainer/app/setup-tests/stub-modules.ts

9 lines
190 B
TypeScript

// this file takes care of stubbing modules that are not tested, like
// axios-progress-bar
// toastr
vi.mock('toastr');
vi.mock('axios-progress-bar', () => ({
loadProgressBar() {},
}));