File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ let assert = chai.assert;
2222let path = require ( 'path' ) ;
2323let Binance = require ( path . resolve ( __dirname , 'node-binance-api.js' ) ) ;
2424let binance = new Binance ( ) ;
25+ binance . options . APIKEY = "X4BHNSimXOK6RKs2FcKqExquJtHjMxz5hWqF0BBeVnfa5bKFMk7X0wtkfEz0cPrJ"
26+ binance . options . APISECRET = "x8gLihunpNq0d46F2q0TWJmeCDahX5LMXSlv3lSFNbMI3rujSOpTDKdhbcmPSf2i"
27+ binance . options . test = true ;
2528let util = require ( 'util' ) ;
2629
2730let num_pairs = 299 ;
@@ -61,11 +64,12 @@ describe( 'Construct', function () {
6164 /*eslint no-undef: "error"*/
6265 it ( 'Construct the binance object' , function ( done ) {
6366 binance . options ( {
64- APIKEY : '5enQYcMQk2J3syHCao9xgJOnnPoGtDMhSRRAzG2Gxo90TBzXPG1itcXikQc2VRDh ' ,
65- APISECRET : 'uWJQXigS3AjftKe8c6xK2t3rkTqkmfeeNPwcycBLGXXsuU4eUvLkPY9qcOnB2UYI ' ,
67+ APIKEY : 'X4BHNSimXOK6RKs2FcKqExquJtHjMxz5hWqF0BBeVnfa5bKFMk7X0wtkfEz0cPrJ ' ,
68+ APISECRET : 'x8gLihunpNq0d46F2q0TWJmeCDahX5LMXSlv3lSFNbMI3rujSOpTDKdhbcmPSf2i ' ,
6669 useServerTime : true ,
6770 reconnect : false ,
6871 verbose : true ,
72+ test : true ,
6973 log : debug
7074 } ) ;
7175 assert ( typeof ( binance ) === 'object' , 'Binance is not an object' ) ;
You can’t perform that action at this time.
0 commit comments