Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/AccountTrackerController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ComposableController from '../src/ComposableController';
import { stub, spy } from 'sinon';

const HttpProvider = require('ethjs-provider-http');
const provider = new HttpProvider('https://ropsten.infura.io');
const provider = new HttpProvider('https://ropsten.infura.io/v3/341eacb578dd44a1a049cbc5f6fd4035');

describe('AccountTrackerController', () => {
it('should set default state', () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/AssetsController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { AssetsContractController } from '../src/assets/AssetsContractController

const HttpProvider = require('ethjs-provider-http');
const KUDOSADDRESS = '0x2aea4add166ebf38b63d09a75de1a7b94aa24163';
const MAINNET_PROVIDER = new HttpProvider('https://mainnet.infura.io');
const MAINNET_PROVIDER = new HttpProvider('https://mainnet.infura.io/v3/341eacb578dd44a1a049cbc5f6fd4035');
const OPEN_SEA_API = 'https://api.opensea.io/api/v1/';

describe('AssetsController', () => {
Expand Down
4 changes: 2 additions & 2 deletions tests/TransactionController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function mockFetch(data: any) {
}
const HttpProvider = require('ethjs-provider-http');
const MOCK_PRFERENCES = { state: { selectedAddress: 'foo' } };
const PROVIDER = new HttpProvider('https://ropsten.infura.io');
const MAINNET_PROVIDER = new HttpProvider('https://mainnet.infura.io');
const PROVIDER = new HttpProvider('https://ropsten.infura.io/v3/341eacb578dd44a1a049cbc5f6fd4035');
const MAINNET_PROVIDER = new HttpProvider('https://mainnet.infura.io/v3/341eacb578dd44a1a049cbc5f6fd4035');
const MOCK_NETWORK = {
provider: PROVIDER,
state: { network: '3', provider: { type: 'ropsten' } },
Expand Down