Skip to content

Commit 5007eed

Browse files
committed
move tests to tests/
1 parent 47a9883 commit 5007eed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"string-hash": "^1.1.3",
1414
"url": "^0.11.0",
1515
"ws": "^7.2.0"
16-
},
16+
},
1717
"scripts": {
18-
"test": "mocha",
18+
"test": "mocha ./tests/live-tests.js",
1919
"test-debug": "mocha --inspect-brk",
2020
"lint": "eslint -c .eslintrc.js node-binance-api.js test.js",
2121
"cover": "istanbul cover _mocha --report lcovonly",

test.js renamed to tests/live-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const TIMEOUT = 10000;
2020
let chai = require( 'chai' );
2121
let assert = chai.assert;
2222
let path = require( 'path' );
23-
let Binance = require( path.resolve( __dirname, 'node-binance-api.js' ) );
23+
let Binance = require( path.resolve( __dirname, '../node-binance-api.js' ) );
2424
let binance = new Binance().options( {
2525
APIKEY: 'X4BHNSimXOK6RKs2FcKqExquJtHjMxz5hWqF0BBeVnfa5bKFMk7X0wtkfEz0cPrJ',
2626
APISECRET: 'x8gLihunpNq0d46F2q0TWJmeCDahX5LMXSlv3lSFNbMI3rujSOpTDKdhbcmPSf2i',

0 commit comments

Comments
 (0)