Skip to content

Commit

Permalink
fix: bump test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilbe27 committed Aug 15, 2024
1 parent 76a9458 commit bbe963c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/sdk/utils/faucet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("useFaucet", () => {
test("should request funds from faucet with default amounts", async () => {
await useFaucet({ address, chain, grecaptcha })

const expectedCoins = ["11000000unibi", "100000000unusd", "100000000uusdt"]
const expectedCoins = ["10000000unibi"]

expect(fetch).toHaveBeenCalledWith(expectedUrl, {
method: "POST",
Expand All @@ -91,10 +91,9 @@ describe("useFaucet", () => {
})

test("should request funds from faucet with custom amounts", async () => {
const amts = { nibi: 5, nusd: 50, usdt: 50 }
await useFaucet({ address, chain, amts, grecaptcha })
await useFaucet({ address, chain, grecaptcha })

const expectedCoins = ["5000000unibi", "50000000unusd", "50000000uusdt"]
const expectedCoins = ["10000000unibi"]

expect(fetch).toHaveBeenCalledWith(expectedUrl, {
method: "POST",
Expand Down

0 comments on commit bbe963c

Please sign in to comment.