11 lines
261 B
TypeScript
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))
|
|
}; |