This repository was archived by the owner on Feb 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const kTwoBytePayloadLengthField = 126;
5656const kEightBytePayloadLengthField = 127 ;
5757const kMaskingKeyWidthInBytes = 4 ;
5858
59- exports . port = process . debugPort ;
59+ exports . port = 9229 ;
6060
6161function ignoreError ( ) { }
6262
Original file line number Diff line number Diff line change 1515 },
1616 "scripts" : {
1717 "pretest" : " eslint lib test" ,
18- "test" : " mocha " ,
18+ "test" : " tap test " ,
1919 "posttest" : " nlm verify"
2020 },
2121 "nlm" : {
2727 },
2828 "dependencies" : {},
2929 "devDependencies" : {
30- "assertive" : " ^2.0.0" ,
3130 "eslint" : " ^2.0.0" ,
3231 "eslint-config-groupon-node6" : " ^3.1.0" ,
3332 "eslint-plugin-import" : " ^1.6.1" ,
3433 "eslint-plugin-node" : " ^2.0.0" ,
35- "mocha " : " ^2.0.0" ,
36- "nlm " : " ^2.0.0 "
34+ "nlm " : " ^2.0.0" ,
35+ "tap " : " ^7.1.2 "
3736 },
3837 "author" : {
3938 "name" : " Jan Krems" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11'use strict' ;
2- const assert = require ( 'assertive ' ) ;
2+ const tap = require ( 'tap ' ) ;
33
44const nodeInspect = require ( '../' ) ;
55
6- describe ( 'node-inspect' , ( ) => {
7- it ( 'is empty' , ( ) => {
8- assert . equal ( 5858 , nodeInspect . port ) ;
9- } ) ;
10- } ) ;
6+ tap . equal ( 9229 , nodeInspect . port ,
7+ 'Uses the --inspect default port' ) ;
You can’t perform that action at this time.
0 commit comments