travis-ci
3613 of 3966 branches covered (91.1%)
Branch coverage included in aggregate %.
3682 of 3682 new or added lines in 197 files covered. (100.0%)
6989 of 7338 relevant lines covered (95.24%)
647312.33 hits per line
1 |
abstract class AbstractDuration { |
|
|
getRawMonths() { |
3✔ |
3 |
return 0; |
|
4 |
} |
|
|
|
454✔ |
6 |
getRawSeconds() { |
|
7 |
return 0; |
|
|
} |
89✔ |
9 |
|
|
10 |
getYears() { |
|
|
return 0; |
4✔ |
12 |
} |
|
13 |
|
|
|
getMonths() { |
4✔ |
15 |
return 0; |
|
16 |
} |
|
|
|
4✔ |
18 |
getDays() { |
|
19 |
return 0; |
|
|
} |
3✔ |
21 |
|
|
22 |
getHours() { |
|
|
return 0; |
3✔ |
24 |
} |
|
25 |
|
|
|
getMinutes() { |
3✔ |
27 |
return 0; |
|
28 |
} |
|
|
|
× |
30 |
getSeconds() { |
|
31 |
return 0; |
|
|
} |
|
33 |
|
|
34 |
isPositive() { |
|
35 |
return true; |
|
|
} |
3✔ |
37 |
|
|
38 |
equals(other) { |
|
39 |
return (
|
|
40 |
this.getRawMonths() === other.getRawMonths() &&
|
|
41 |
this.getRawSeconds() === other.getRawSeconds()
|
|
42 |
); |
|
43 |
} |
|
44 |
} |
|
45 |
|
|
46 |
export default AbstractDuration; |