@@ -4,8 +4,9 @@ describe('checkConfigOptions', () => {
4
4
it ( 'allows BTC/USDT trading pair' , ( ) => {
5
5
const dotEnvConfig = {
6
6
LOG_LEVEL : 'trace' ,
7
- BINANCE_API_KEY : '123' ,
8
- BINANCE_API_SECRET : 'abc' ,
7
+ CEX : 'Binance' ,
8
+ CEX_API_KEY : '123' ,
9
+ CEX_API_SECRET : 'abc' ,
9
10
DATA_DIR : '/some/data/path' ,
10
11
OPENDEX_CERT_PATH : '/some/cert/path' ,
11
12
OPENDEX_RPC_HOST : 'localhost' ,
@@ -27,8 +28,9 @@ describe('checkConfigOptions', () => {
27
28
it ( 'allows ETH/BTC trading pair' , ( ) => {
28
29
const dotEnvConfig = {
29
30
LOG_LEVEL : 'trace' ,
30
- BINANCE_API_KEY : '123' ,
31
- BINANCE_API_SECRET : 'abc' ,
31
+ CEX : 'Binance' ,
32
+ CEX_API_KEY : '123' ,
33
+ CEX_API_SECRET : 'abc' ,
32
34
DATA_DIR : '/some/data/path' ,
33
35
OPENDEX_CERT_PATH : '/some/cert/path' ,
34
36
OPENDEX_RPC_HOST : 'localhost' ,
@@ -50,8 +52,9 @@ describe('checkConfigOptions', () => {
50
52
it ( 'does not allow LTC/LTC trading pair' , ( ) => {
51
53
const dotEnvConfig = {
52
54
LOG_LEVEL : 'trace' ,
53
- BINANCE_API_KEY : '123' ,
54
- BINANCE_API_SECRET : 'abc' ,
55
+ CEX : 'Binance' ,
56
+ CEX_API_KEY : '123' ,
57
+ CEX_API_SECRET : 'abc' ,
55
58
DATA_DIR : '/some/data/path' ,
56
59
OPENDEX_CERT_PATH : '/some/cert/path' ,
57
60
OPENDEX_RPC_HOST : 'localhost' ,
0 commit comments