• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atinc / ngx-tethys / 68ef226c-f83e-44c1-b8ed-e420a83c5d84

28 May 2025 10:31AM UTC coverage: 10.352% (-80.0%) from 90.316%
68ef226c-f83e-44c1-b8ed-e420a83c5d84

Pull #3460

circleci

pubuzhixing8
chore: xxx
Pull Request #3460: refactor(icon): migrate signal input #TINFR-1476

132 of 6823 branches covered (1.93%)

Branch coverage included in aggregate %.

10 of 14 new or added lines in 1 file covered. (71.43%)

11648 existing lines in 344 files now uncovered.

2078 of 14525 relevant lines covered (14.31%)

6.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

12.5
/src/core/spacing/spacing.ts
1
import { isNumber } from 'ngx-tethys/util';
2
export type ThySpacingSize = 'zero' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xlg' | number;
1✔
3

4
const SPACING_SIZES_MAP = {
5
    zero: 0,
6
    xxs: 4,
7
    xs: 8,
8
    sm: 12,
9
    md: 16,
10
    lg: 20,
11
    xlg: 24
UNCOV
12
};
×
UNCOV
13

×
14
export function getNumericSize(size: ThySpacingSize, defaultSize?: ThySpacingSize): number {
UNCOV
15
    if (isNumber(size)) {
×
16
        return size;
17
    }
18
    return SPACING_SIZES_MAP[size] !== undefined ? SPACING_SIZES_MAP[size] : SPACING_SIZES_MAP[defaultSize];
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc