Skip to content

Commit 387c147

Browse files
committed
test(patchconsole): test patch console
1 parent f9827db commit 387c147

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
describe('Patch console', () => {
2+
it('should not contain a console.logNgHTML method', () => {
3+
expect((console as any).logNgHTML).not.toBeDefined();
4+
});
5+
6+
it('should patch the console and add a console.logNgHTML method', () => {
7+
require('./patchConsole');
8+
expect((console as any).logNgHTML).toBeDefined();
9+
});
10+
});
File renamed without changes.

projects/pretty-html-log/src/lib/test.spec.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)