All files roosterjs-content-model-api/lib/publicApi/segment

100% Statements 180/180
90.58% Branches 125/138
100% Functions 44/44
100% Lines 176/176

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

File Statements Branches Functions Lines
applySegmentFormat.ts
100% 12/12 100% 0/0 100% 2/2 100% 12/12
changeCapitalization.ts
100% 21/21 90% 9/10 100% 3/3 100% 20/20
changeFontSize.ts
100% 36/36 92% 23/25 100% 4/4 100% 34/34
setBackgroundColor.ts
100% 17/17 93.33% 14/15 100% 3/3 100% 17/17
setFontName.ts
100% 7/7 83.33% 5/6 100% 2/2 100% 7/7
setFontSize.ts
100% 13/13 91.67% 11/12 100% 4/4 100% 13/13
setTextColor.ts
100% 10/10 85.71% 12/14 100% 3/3 100% 10/10
splitTextSegment.ts
100% 14/14 100% 4/4 100% 2/2 100% 13/13
toggleBold.ts
100% 7/7 91.67% 11/12 100% 3/3 100% 7/7
toggleCode.ts
100% 11/11 75% 6/8 100% 3/3 100% 11/11
toggleItalic.ts
100% 6/6 100% 0/0 100% 3/3 100% 6/6
toggleStrikethrough.ts
100% 6/6 100% 0/0 100% 3/3 100% 6/6
toggleSubscript.ts
100% 6/6 100% 6/6 100% 3/3 100% 6/6
toggleSuperscript.ts
100% 6/6 100% 6/6 100% 3/3 100% 6/6
toggleUnderline.ts
100% 8/8 90% 18/20 100% 3/3 100% 8/8