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
commit 4849c9559a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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