Skip to content

Commit 77dd3bd

Browse files
committed
add test keys
1 parent fe06297 commit 77dd3bd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ let assert = chai.assert;
2222
let path = require( 'path' );
2323
let Binance = require( path.resolve( __dirname, 'node-binance-api.js' ) );
2424
let binance = new Binance();
25+
binance.options.APIKEY = "X4BHNSimXOK6RKs2FcKqExquJtHjMxz5hWqF0BBeVnfa5bKFMk7X0wtkfEz0cPrJ"
26+
binance.options.APISECRET = "x8gLihunpNq0d46F2q0TWJmeCDahX5LMXSlv3lSFNbMI3rujSOpTDKdhbcmPSf2i"
27+
binance.options.test = true;
2528
let util = require( 'util' );
2629

2730
let 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' );

0 commit comments

Comments
 (0)