Skip to content
Snippets Groups Projects
Commit f6ba88d2 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-2626 OZG-2866 add test for null resource

parent 7da5158a
No related branches found
No related tags found
No related merge requests found
......@@ -18,4 +18,10 @@ describe('HasLinkPipe', () => {
expect(result).toBe(false);
})
it('should return false on null resource', () => {
const result: boolean = pipe.transform(null, dummyLink);
expect(result).toBe(false);
})
})
......@@ -27,7 +27,7 @@ import { ToTrafficLightPipe } from './pipe/to-traffic-light.pipe';
ToTrafficLightTooltipPipe,
ToEmbeddedResourcesPipe,
ConvertForDataTestPipe,
FileSizePipe,
FileSizePipe
],
exports: [
FormatToPrettyDatePipe,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment