Merge pull request #205 from CosmWasm/fix-faucet-test

Add wasmd check to faucet tests
This commit is contained in:
Simon Warta
2020-06-09 12:39:26 +02:00
committed by GitHub
+4 -2
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"]);