Multicylinders
This commit is contained in:
@@ -2,10 +2,16 @@ import { map } from "rxjs";
|
||||
|
||||
jest.mock('@ngxpert/hot-toast', () => ({
|
||||
HotToastService: {
|
||||
observe: jest.fn().mockImplementation(() => map(x => x))
|
||||
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))
|
||||
observe = jest.fn().mockImplementation(() => map(x => x));
|
||||
info = jest.fn();
|
||||
error = jest.fn();
|
||||
success = jest.fn();
|
||||
};
|
||||
Reference in New Issue
Block a user