1
+
1
2
<!doctype html>
2
3
< html lang ="en ">
4
+
3
5
< head >
4
6
< title > Code coverage report for components/ModernDatepicker.js</ title >
5
7
< meta charset ="utf-8 " />
6
8
< link rel ="stylesheet " href ="../prettify.css " />
7
9
< link rel ="stylesheet " href ="../base.css " />
8
- < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
10
+ < link rel ="shortcut icon " type ="image/x-icon " href ="../favicon.png " />
11
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
9
12
< style type ='text/css '>
10
13
.coverage-summary .sorter {
11
14
background-image : url(../ sor t-arrow-sprite.png);
12
15
}
13
16
</ style >
14
17
</ head >
18
+
15
19
< body >
16
20
< div class ='wrapper '>
17
- < div class ='pad1 '>
18
- < h1 >
19
- < a href ="../index.html "> All files</ a > / < a href ="index.html "> components</ a > ModernDatepicker.js
20
- </ h1 >
21
- < div class ='clearfix '>
22
- < div class ='fl pad1y space-right2 '>
23
- < span class ="strong "> 60.76% </ span >
24
- < span class ="quiet "> Statements</ span >
25
- < span class ='fraction '> 96/158</ span >
26
- </ div >
27
- < div class ='fl pad1y space-right2 '>
28
- < span class ="strong "> 51.61% </ span >
29
- < span class ="quiet "> Branches</ span >
30
- < span class ='fraction '> 208/403</ span >
31
- </ div >
32
- < div class ='fl pad1y space-right2 '>
33
- < span class ="strong "> 37.04% </ span >
34
- < span class ="quiet "> Functions</ span >
35
- < span class ='fraction '> 10/27</ span >
36
- </ div >
37
- < div class ='fl pad1y space-right2 '>
38
- < span class ="strong "> 60.26% </ span >
39
- < span class ="quiet "> Lines</ span >
40
- < span class ='fraction '> 94/156</ span >
41
- </ div >
21
+ < div class ='pad1 '>
22
+ < h1 > < a href ="../index.html "> All files</ a > / < a href ="index.html "> components</ a > ModernDatepicker.js</ h1 >
23
+ < div class ='clearfix '>
24
+
25
+ < div class ='fl pad1y space-right2 '>
26
+ < span class ="strong "> 60.76% </ span >
27
+ < span class ="quiet "> Statements</ span >
28
+ < span class ='fraction '> 96/158</ span >
29
+ </ div >
30
+
31
+
32
+ < div class ='fl pad1y space-right2 '>
33
+ < span class ="strong "> 52.61% </ span >
34
+ < span class ="quiet "> Branches</ span >
35
+ < span class ='fraction '> 212/403</ span >
36
+ </ div >
37
+
38
+
39
+ < div class ='fl pad1y space-right2 '>
40
+ < span class ="strong "> 37.04% </ span >
41
+ < span class ="quiet "> Functions</ span >
42
+ < span class ='fraction '> 10/27</ span >
43
+ </ div >
44
+
45
+
46
+ < div class ='fl pad1y space-right2 '>
47
+ < span class ="strong "> 60.26% </ span >
48
+ < span class ="quiet "> Lines</ span >
49
+ < span class ='fraction '> 94/156</ span >
50
+ </ div >
51
+
52
+
53
+ </ div >
54
+ < p class ="quiet ">
55
+ Press < em > n</ em > or < em > j</ em > to go to the next uncovered block, < em > b</ em > , < em > p</ em > or < em > k</ em > for the previous block.
56
+ </ p >
42
57
</ div >
43
- < p class ="quiet ">
44
- Press < em > n</ em > or < em > j</ em > to go to the next uncovered block, < em > b</ em > , < em > p</ em > or < em > k</ em > for the previous block.
45
- </ p >
46
- </ div >
47
- < div class ='status-line medium '> </ div >
48
- < pre > < table class ="coverage ">
58
+ < div class ='status-line medium '> </ div >
59
+ < pre > < table class ="coverage ">
49
60
< tr > < td class ="line-count quiet "> < a name ='L1 '> </ a > < a href ='#L1 '> 1</ a >
50
61
< a name ='L2 '> </ a > < a href ='#L2 '> 2</ a >
51
62
< a name ='L3 '> </ a > < a href ='#L3 '> 3</ a >
862
873
const _date = dayjs(this.state.dateToEdit || dayjs().format(format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > , format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > ;
863
874
const _minDate = isMinInstanceOfDate ? dayjs(minDate) : dayjs(minDate, format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > ;
864
875
const _maxDate = isMaxInstanceOfDate ? dayjs(maxDate) : dayjs(maxDate, format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > ;
865
- const defaultDate = _date.isBetween(minDate ? _minDate.clone().subtract(1, 'day') : _date.clone().subtract(1, 'day'), maxDate ? _maxDate.clone().add(1, 'day') : _date.clone().add(1, 'day')) ? _date : maxDate && _maxDate.isSameOrAfter(_date) ? _date : < span class ="branch-1 cbranch-no " title ="branch not covered " > minDate && _minDate.isSameOrBefore(_date) ? _minDate : maxDate ? _maxDate.clone().subtract(1, 'day') : minDate ? _minDate.clone().add(1, 'day') : _date;</ span >
876
+ const defaultDate = _date.isBetween(minDate ? _minDate.clone().subtract(1, 'day') : _date.clone().subtract(1, 'day'), maxDate ? _maxDate.clone().add(1, 'day') : _date.clone().add(1, 'day')) ? _date : maxDate && _maxDate.isSameOrAfter(_date) ? _date : minDate && _minDate.isSameOrBefore(_date) ? _minDate : < span class ="branch-1 cbranch-no " title ="branch not covered " > maxDate ? _maxDate.clone().subtract(1, 'day') : minDate ? _minDate.clone().add(1, 'day') : _date;</ span >
866
877
867
878
868
879
const date = dayjs(this.state.dateToEdit || defaultDate.format(format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > , format || < span class ="branch-1 cbranch-no " title ="branch not covered " > 'DD-MM-YYYY')</ span > .set(unit, value);
@@ -1186,24 +1197,24 @@ <h1>
1186
1197
};
1187
1198
1188
1199
export default ModernDatepicker;
1189
- </ pre > </ td > </ tr >
1190
- </ table > </ pre >
1191
- < div class ='push '> </ div > <!-- for sticky footer -->
1192
- </ div > <!-- /wrapper -->
1193
- < div class ='footer quiet pad2 space-top1 center small '>
1194
- Code coverage
1195
- generated by < a href ="https://istanbul.js.org/ " target ="_blank "> istanbul</ a > at Mon Sep 21 2020 23:24:57 GMT+0530 (India Standard Time)
1196
- </ div >
1197
- </ div >
1198
- < script src ="../prettify.js "> </ script >
1199
- < script >
1200
- window . onload = function ( ) {
1201
- if ( typeof prettyPrint === 'function' ) {
1202
- prettyPrint ( ) ;
1203
- }
1204
- } ;
1205
- </ script >
1206
- < script src ="../sorter.js "> </ script >
1207
- < script src ="../block-navigation.js "> </ script >
1208
- </ body >
1200
+ </ pre > </ td > </ tr > </ table > </ pre >
1201
+
1202
+ < div class ='push '> </ div > <!-- for sticky footer -->
1203
+ </ div > <!-- /wrapper -->
1204
+ < div class ='footer quiet pad2 space-top1 center small '>
1205
+ Code coverage generated by
1206
+ < a href ="https://istanbul.js.org/ " target ="_blank "> istanbul</ a >
1207
+ at Tue Aug 17 2021 10:45:00 GMT+0530 (India Standard Time)
1208
+ </ div >
1209
+ </ div >
1210
+ < script src ="../prettify.js "> </ script >
1211
+ < script >
1212
+ window . onload = function ( ) {
1213
+ prettyPrint ( ) ;
1214
+ } ;
1215
+ </ script >
1216
+ < script src ="../sorter.js "> </ script >
1217
+ < script src ="../block-navigation.js "> </ script >
1218
+ </ body >
1209
1219
</ html >
1220
+
0 commit comments