mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Remove xls20-sandbox tests (#2190)
This commit is contained in:
@@ -54,6 +54,7 @@ export function getFaucetHost(client: Client): FaucetNetwork | undefined {
|
||||
return FaucetNetwork.Devnet
|
||||
}
|
||||
|
||||
// TODO: Remove this once the sandbox is fully decomissioned.
|
||||
if (connectionUrl.includes('xls20-sandbox')) {
|
||||
return FaucetNetwork.NFTDevnet
|
||||
}
|
||||
|
||||
@@ -26,16 +26,10 @@ describe('fundWallet', function () {
|
||||
)
|
||||
})
|
||||
|
||||
it('can generate and fund wallets on nft-devnet', async function () {
|
||||
await generate_faucet_wallet_and_fund_again(
|
||||
'ws://xls20-sandbox.rippletest.net:51233',
|
||||
)
|
||||
})
|
||||
|
||||
it('can generate and fund wallets using a custom host and path', async function () {
|
||||
await generate_faucet_wallet_and_fund_again(
|
||||
'ws://xls20-sandbox.rippletest.net:51233',
|
||||
'faucet-nft.ripple.com',
|
||||
'wss://s.devnet.rippletest.net:51233/',
|
||||
'faucet.devnet.rippletest.net',
|
||||
'/accounts',
|
||||
)
|
||||
})
|
||||
|
||||
@@ -33,13 +33,6 @@ describe('Get Faucet host ', function () {
|
||||
assert.strictEqual(getFaucetHost(this.client), expectedFaucet)
|
||||
})
|
||||
|
||||
it('returns the NFT-Devnet host with the XLS-20 Sandbox server', function () {
|
||||
const expectedFaucet = FaucetNetwork.NFTDevnet
|
||||
this.client.connection.url = 'ws://xls20-sandbox.rippletest.net:51233'
|
||||
|
||||
assert.strictEqual(getFaucetHost(this.client), expectedFaucet)
|
||||
})
|
||||
|
||||
it('returns the Hooks V2 Testnet host', function () {
|
||||
const expectedFaucet = FaucetNetwork.HooksV2Testnet
|
||||
this.client.connection.url = FaucetNetwork.HooksV2Testnet
|
||||
|
||||
Reference in New Issue
Block a user