File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 8
8
],
9
9
"branches" : 96.5 ,
10
10
"lines" : 100 ,
11
- "functions" : 94 ,
11
+ "functions" : 93 ,
12
12
"statements" : 100
13
13
}
Original file line number Diff line number Diff line change 22
22
" index.js"
23
23
],
24
24
"scripts" : {
25
- "coverage" : " nyc report && nyc check-coverage" ,
25
+ "fix" : " standard --fix" ,
26
+ "coverage" : " c8 --check-coverage report" ,
26
27
"pretest" : " standard" ,
27
- "test" : " nyc mocha"
28
+ "test" : " c8 mocha"
28
29
},
29
30
"devDependencies" : {
31
+ "c8" : " ^7.3.0" ,
30
32
"chai" : " ^4.0.1" ,
31
33
"mocha" : " ^8.0.0" ,
32
- "nyc" : " ^15.1.0" ,
33
34
"rimraf" : " ^3.0.2" ,
34
- "standard" : " ^10.0.0-beta.0 "
35
+ "standard" : " ^14.3.4 "
35
36
},
36
37
"engines" : {
37
38
"node" : " >=10"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require('chai').should()
11
11
describe ( 'y18n' , function ( ) {
12
12
describe ( 'configure' , function ( ) {
13
13
it ( 'allows you to override the default y18n configuration' , function ( ) {
14
- var y = y18n ( { locale : 'fr' } )
14
+ var y = y18n ( { locale : 'fr' } )
15
15
y . locale . should . equal ( 'fr' )
16
16
} )
17
17
} )
You can’t perform that action at this time.
0 commit comments