chore: migrate tests to typescript

This commit is contained in:
Justin Starry
2021-03-15 13:08:10 +08:00
committed by Justin Starry
parent f912c63b22
commit 8ada44456d
27 changed files with 242 additions and 825 deletions

11
web3.js/test/url.ts Normal file
View File

@ -0,0 +1,11 @@
/**
* The connection url to use when running unit tests against a live cluster
*/
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/';