# Code coverage report for src/lib/pipes/tooltip-list.pipe.ts

# All files / src/lib/pipes tooltip-list.pipe.ts

87.5% Statements 14/16
45.45% Branches 10/22
66.66% Functions 2/3
90.9% Lines 10/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    141x
    1x
    1x
    1x
    1x

    1x

    1x
    1x

    1ximport { Pipe, PipeTransform } from '@angular/core';

    @PipIe({ name: 'tooltipList', pure: true })
    export class TooltipListPipe implements PipeTransform {
    	transform(lines: string[]): string {
    		let list = '';
    		lines.forEach((line) => {
    			list += '• ' + line + '\n';
    		});

    		return list;
    	}
    }