2018-10-06 11:23:18 -07:00
|
|
|
/**
|
2019-03-04 08:16:13 -08:00
|
|
|
* The connection url to use when running unit tests against a live cluster
|
2018-10-06 11:23:18 -07:00
|
|
|
*/
|
2018-11-02 16:09:34 -07:00
|
|
|
|
2021-02-05 18:59:00 -08:00
|
|
|
export const MOCK_PORT = 9999;
|
|
|
|
export const url = process.env.TEST_LIVE
|
|
|
|
? 'http://localhost:8899/'
|
|
|
|
: 'http://localhost:9999/';
|
2018-11-02 16:09:34 -07:00
|
|
|
|
2021-05-27 14:57:32 -07:00
|
|
|
export const wsUrl = process.env.TEST_LIVE
|
|
|
|
? 'ws://localhost:8900/'
|
|
|
|
: 'ws://localhost:9999/';
|
|
|
|
|
2021-06-08 08:58:34 -07:00
|
|
|
//export const url = 'https://api.devnet.solana.com/';
|
|
|
|
//export const url = 'http://api.devnet.solana.com/';
|