Add wasmd check to faucet tests

This commit is contained in:
willclarktech 2020-06-09 11:29:45 +01:00
parent 2d83071bb0
commit cf2ab9161b
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -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"]);