File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1010dist-dev
1111server_
1212* .swp
13- .putoutcache
1413
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default {
66 'fresh:lint' : ( ) => run ( 'lint' , '--fresh' ) ,
77 'lint:fresh' : ( ) => run ( 'lint' , '--fresh' ) ,
88 'fix:lint' : ( ) => run ( 'lint' , '--fix' ) ,
9- 'coverage' : async ( ) => `nyc ${ await run ( 'test' ) } ` ,
10- 'report' : ( ) => `nyc report --reporter=text-lcov | coveralls` ,
9+ 'coverage' : async ( ) => `c8 ${ await run ( 'test' ) } ` ,
10+ 'report' : ( ) => `c8 report --reporter=text-lcov | coveralls` ,
1111 'build' : ( ) => run ( [ 'rmdir' , 'build:*' ] ) ,
1212 'build-progress' : ( ) => 'BABEL_ENV=client webpack --progress' ,
1313 'build:client' : ( ) => run ( 'build-progress' , '--mode production' ) ,
Original file line number Diff line number Diff line change 6868 "babel-loader" : " ^8.0.0" ,
6969 "babel-plugin-dynamic-import-node" : " ^2.0.0" ,
7070 "babel-plugin-dynamic-import-webpack" : " ^1.0.1" ,
71+ "c8" : " ^7.6.0" ,
7172 "clear-module" : " ^4.0.0" ,
7273 "coveralls" : " ^3.0.0" ,
7374 "emitify" : " ^4.0.1" ,
8081 "mock-require" : " ^3.0.1" ,
8182 "node-fetch" : " ^2.1.2" ,
8283 "nodemon" : " ^2.0.2" ,
83- "nyc" : " ^15.0.0" ,
8484 "putout" : " ^15.1.2" ,
8585 "rimraf" : " ^3.0.0" ,
8686 "socket.io" : " ^3.1.0" ,
Original file line number Diff line number Diff line change @@ -51,10 +51,12 @@ test('client: copy: error', async (t) => {
5151 const op = await operator . copy ( from , to , files ) ;
5252 const destroy = getDestroy ( op ) ;
5353 const [ e ] = await once ( op , 'error' ) ;
54+
5455 done ( ) ;
5556 after ( ) ;
5657 destroy ( ) ;
57- t . equal ( e , 'ENOENT: /hello' , 'should equal' ) ;
58+
59+ t . equal ( e , 'ENOENT: /hello/abc' , 'should equal' ) ;
5860 t . end ( ) ;
5961} ) ;
6062
@@ -76,10 +78,12 @@ test('client: move: error', async (t) => {
7678 const op = await operator . move ( from , to , files ) ;
7779 const destroy = getDestroy ( op ) ;
7880 const [ e ] = await once ( op , 'error' ) ;
81+
7982 done ( ) ;
8083 after ( ) ;
8184 destroy ( ) ;
82- t . equal ( e , 'ENOENT: /hello' , 'should equal' ) ;
85+
86+ t . equal ( e , 'ENOENT: /hello/abc' , 'should equal' ) ;
8387 t . end ( ) ;
8488} ) ;
8589
You can’t perform that action at this time.
0 commit comments