Multicylinders

This commit is contained in:
Bastian Wagner
2025-01-02 11:17:28 +01:00
parent 66302ff05a
commit bf64103369
12 changed files with 199 additions and 34 deletions

View File

@@ -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();
};