Rename https://mkr.market -> https://oasisdex.com (#4701)
This commit is contained in:
parent
ab98ec3bf7
commit
88449671a1
@ -20,7 +20,7 @@ import { parse as parseUrl } from 'url';
|
|||||||
|
|
||||||
import { encodePath, encodeUrl } from '~/util/dapplink';
|
import { encodePath, encodeUrl } from '~/util/dapplink';
|
||||||
|
|
||||||
const DEFAULT_URL = 'https://mkr.market';
|
const DEFAULT_URL = 'https://oasisdex.com';
|
||||||
const LS_LAST_ADDRESS = '_parity::webLastAddress';
|
const LS_LAST_ADDRESS = '_parity::webLastAddress';
|
||||||
|
|
||||||
const hasProtocol = /^https?:\/\//;
|
const hasProtocol = /^https?:\/\//;
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
import { shallow } from 'enzyme';
|
import { shallow } from 'enzyme';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
import { DEFAULT_URL } from './store';
|
||||||
import Web from './';
|
import Web from './';
|
||||||
|
|
||||||
const TEST_URL = 'https://mkr.market';
|
|
||||||
|
|
||||||
let api;
|
let api;
|
||||||
let component;
|
let component;
|
||||||
|
|
||||||
@ -30,7 +29,7 @@ function createApi () {
|
|||||||
return api;
|
return api;
|
||||||
}
|
}
|
||||||
|
|
||||||
function render (url = TEST_URL) {
|
function render (url = DEFAULT_URL) {
|
||||||
component = shallow(
|
component = shallow(
|
||||||
<Web params={ { url } } />,
|
<Web params={ { url } } />,
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user