chore: replace jest with mocha

This commit is contained in:
Justin Starry
2021-02-06 10:59:00 +08:00
committed by Justin Starry
parent 612958ece0
commit c675c67c26
41 changed files with 4635 additions and 6665 deletions

View File

@@ -4,7 +4,10 @@
* The connection url to use when running unit tests against a live cluster
*/
export const url = 'http://localhost:8899/';
export const MOCK_PORT = 9999;
export const url = process.env.TEST_LIVE
? 'http://localhost:8899/'
: 'http://localhost:9999/';
//export const url = 'https://devnet.solana.com/';
//export const url = 'http://devnet.solana.com/';