Add wasmd check to faucet tests
This commit is contained in:
parent
2d83071bb0
commit
cf2ab9161b
@ -46,13 +46,15 @@ describe("Faucet", () => {
|
||||
});
|
||||
|
||||
describe("availableTokens", () => {
|
||||
it("is empty when no tokens are configures", async () => {
|
||||
it("is empty when no tokens are configured", async () => {
|
||||
pendingWithoutWasmd();
|
||||
const faucet = await Faucet.make(httpUrl, defaultAddressPrefix, { bankTokens: [] }, faucetMnemonic, 3);
|
||||
const tickers = await faucet.availableTokens();
|
||||
expect(tickers).toEqual([]);
|
||||
});
|
||||
|
||||
it("is empty when no tokens are configures", async () => {
|
||||
it("is empty when no tokens are configured", async () => {
|
||||
pendingWithoutWasmd();
|
||||
const faucet = await Faucet.make(httpUrl, defaultAddressPrefix, defaultTokenConfig, faucetMnemonic, 3);
|
||||
const tickers = await faucet.availableTokens();
|
||||
expect(tickers).toEqual(["COSM", "STAKE"]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user