| 1046 | }); |
| 1047 | |
| 1048 | class MockConsole { |
| 1049 | res: any[][] = []; |
| 1050 | log(...args: any[]): void { |
| 1051 | // Logging from ErrorHandler should run outside of the Angular Zone. |
| 1052 | NgZone.assertNotInAngularZone(); |
| 1053 | this.res.push(args); |
| 1054 | } |
| 1055 | error(...args: any[]): void { |
| 1056 | // Logging from ErrorHandler should run outside of the Angular Zone. |
| 1057 | NgZone.assertNotInAngularZone(); |
| 1058 | this.res.push(args); |
| 1059 | } |
| 1060 | } |
nothing calls this directly
no outgoing calls
no test coverage detected