api
travis-ci
130 of 194 branches covered (67.01%)
Branch coverage included in aggregate %.
616 of 616 new or added lines in 47 files covered. (100.0%)
496 of 616 relevant lines covered (80.52%)
2.21 hits per line
1 |
'use strict';
|
|
2 |
|
|
|
module.exports = { |
1✔ |
4 |
|
|
5 |
active (mode = 'strict') {
|
|
|
if(mode === 'all') |
|
|
return {};
|
× |
8 |
|
|
|
return {active: true}; |
10✔ |
10 |
}, |
|
11 |
|
|
12 |
desactive (mode = 'strict') {
|
|
|
if(mode === 'all') |
|
|
return {};
|
× |
15 |
|
|
|
return {active: false}; |
2✔ |
17 |
} |
|
18 |
}; |