Add docs.

This commit is contained in:
Spencer Ofwiti
2021-05-10 21:56:20 +03:00
parent 6ed07b4beb
commit 8db1343bc5
394 changed files with 134975 additions and 44 deletions

View File

@@ -1,8 +1,12 @@
import { SafePipe } from './safe.pipe';
import {DomSanitizer} from '@angular/platform-browser';
// tslint:disable-next-line:prefer-const
let sanitizer: DomSanitizer;
describe('SafePipe', () => {
it('create an instance', () => {
const pipe = new SafePipe();
const pipe = new SafePipe(sanitizer);
expect(pipe).toBeTruthy();
});
});