Files
keyvault/client/mocks/services/mock.hottoast.service.ts
Bastian Wagner 819af7455b Testing
2024-11-28 16:59:23 +01:00

11 lines
261 B
TypeScript

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