Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thal0x committed Oct 5, 2023
1 parent beeaf76 commit 8bdaa2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const nextConfig = {
"@wagmi/connectors",
"viem",
"abitype",
"uuid",
]
: [],
};
Expand Down
3 changes: 2 additions & 1 deletion src/components/__tests__/SwapWidget.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const handlers = [
rest.get(`${API_URL}/v1/fungible/assets`, (_, res, ctx) => {
return res(ctx.status(200), ctx.json(ASSETS_RESPONSE));
}),
rest.post(`${API_URL}/v1/fungible/route`, (_, res, ctx) => {
rest.post(`${API_URL}/v2/fungible/route`, (_, res, ctx) => {
return res(
ctx.status(200),
ctx.json({
Expand Down Expand Up @@ -62,6 +62,7 @@ const handlers = [
chain_ids: ["cosmoshub-4", "neutron-1"],
does_swap: true,
estimated_amount_out: "25329854",
amount_out: "25329854",
swap_venue: {
name: "neutron-astroport",
chain_id: "neutron-1",
Expand Down

0 comments on commit 8bdaa2d

Please sign in to comment.