This repository was archived by the owner on Dec 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ module.exports = function (config) {
44
55 files : [ 'lib/**/*.ts' , 'test/blockchain/chain.spec.ts' ] ,
66
7- exclude : [ 'test/integration/**/*.ts' , 'test/cli/**/*.ts' ] ,
8-
97 preprocessors : {
108 '**/*.ts' : [ 'karma-typescript' ] ,
119 } ,
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ export class RlpxServer extends Server {
140140 */
141141 async stop ( ) : Promise < boolean > {
142142 if ( this . started ) {
143- this . rlpx ! . destroy ( ) // eslint-disable-line no-extra-semi
143+ this . rlpx ! . destroy ( )
144144 this . dpt ! . destroy ( )
145145 await super . stop ( )
146146 this . started = false
Original file line number Diff line number Diff line change 2424 "lint" : " ethereumjs-config-lint" ,
2525 "lint:fix" : " ethereumjs-config-lint-fix" ,
2626 "tape" : " tape -r ts-node/register" ,
27- "test" : " npm run tape -- 'test/**/*.spec.ts'" ,
27+ "test" : " npm run tape -- 'test/!(cli)/ **/*.spec.ts'" ,
2828 "test:unit" : " npm run tape -- 'test/!(integration|cli)/**/*.spec.ts'" ,
2929 "test:integration" : " npm run tape -- 'test/integration/**/*.spec.ts'" ,
3030 "test:cli" : " npm run build:node && npm run tape -- 'test/cli/*.spec.ts'" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import tape from 'tape'
44tape ( '[CLI]' , ( t ) => {
55 t . test ( 'should begin downloading blocks' , { timeout : 260000 } , ( t ) => {
66 const file = require . resolve ( '../../dist/bin/cli.js' )
7- const child = spawn ( process . execPath , [ file ] )
7+ const args = [ file , '--loglevel' , 'debug' ]
8+ const child = spawn ( process . execPath , args )
89
910 const timeout = setTimeout ( ( ) => {
1011 child . kill ( 'SIGINT' )
You can’t perform that action at this time.
0 commit comments