refactor: rename env var

This commit is contained in:
Michael Vines
2018-11-01 14:41:06 -07:00
parent b1e811473a
commit 6ff9d1a650
3 changed files with 5 additions and 5 deletions

View File

@@ -18,9 +18,9 @@ type RpcResponse = {
export const mockRpc: Array<[string, RpcRequest, RpcResponse]> = [];
// Define DOITLIVE in the environment to test against the real full node
// Define TEST_LIVE in the environment to test against the real full node
// identified by `url` instead of using the mock
export const mockRpcEnabled = !process.env.DOITLIVE;
export const mockRpcEnabled = !process.env.TEST_LIVE;
let mockNotice = true;