Files
keyvault/client/mocks/services/mock.hottoast.service.ts
Bastian Wagner bf64103369 Multicylinders
2025-01-02 11:17:28 +01:00

17 lines
394 B
TypeScript

import { map } from "rxjs";
jest.mock('@ngxpert/hot-toast', () => ({
HotToastService: {
observe: jest.fn().mockImplementation(() => map(x => x)),
info: jest.fn(),
error: jest.fn(),
success: jest.fn(),
},
}));
export class MockHotToastService {
observe = jest.fn().mockImplementation(() => map(x => x));
info = jest.fn();
error = jest.fn();
success = jest.fn();
};