Remove broken Ropsten faucet link
This commit is contained in:
parent
7334df922b
commit
38285191a2
|
@ -2,7 +2,7 @@ function getFaucetLinks(network) {
|
|||
const netID = parseInt(network)
|
||||
switch (netID) {
|
||||
case 3:
|
||||
return ['https://faucet.ropsten.be/', 'https://faucet.metamask.io/']
|
||||
return ['https://faucet.metamask.io/']
|
||||
case 4:
|
||||
return ['https://faucet.rinkeby.io/']
|
||||
case 42:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eth-net-props",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eth-net-props",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"description": "Get properties of EMV-based network",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
|
@ -94,10 +94,9 @@ describe('eth-net-props', () => {
|
|||
})
|
||||
it(`${claimPrefix} Ropsten Network`, () => {
|
||||
const ropstenFaucetLinks = faucetLinks.getFaucetLinks(3)
|
||||
assert.equal(ropstenFaucetLinks.length, 2)
|
||||
assert.equal(ropstenFaucetLinks.length, 1)
|
||||
if (ropstenFaucetLinks.length > 0) {
|
||||
assert.equal(ropstenFaucetLinks[0], 'https://faucet.ropsten.be/')
|
||||
assert.equal(ropstenFaucetLinks[1], 'https://faucet.metamask.io/')
|
||||
assert.equal(ropstenFaucetLinks[0], 'https://faucet.metamask.io/')
|
||||
}
|
||||
})
|
||||
it(`${claimPrefix} Rinkeby Network`, () => {
|
||||
|
|
Loading…
Reference in New Issue