Commit bca70dd4 authored by Justin Domingue's avatar Justin Domingue Committed by GitHub

fix: routing utils.tests (#2509)

* fix routing utils.test

* Fix code style issues with ESLint
Co-authored-by: default avatarLint Action <lint-action@samuelmeuli.com>
parent 78581d54
...@@ -31,6 +31,7 @@ describe('#useRoute', () => { ...@@ -31,6 +31,7 @@ describe('#useRoute', () => {
route: [ route: [
[ [
{ {
type: 'v3-pool',
address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`1`, amountIn: amount`1`,
amountOut: amount`5`, amountOut: amount`5`,
...@@ -59,6 +60,7 @@ describe('#useRoute', () => { ...@@ -59,6 +60,7 @@ describe('#useRoute', () => {
route: [ route: [
[ [
{ {
type: 'v3-pool',
address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`5`, amountIn: amount`5`,
amountOut: amount`6`, amountOut: amount`6`,
...@@ -72,6 +74,7 @@ describe('#useRoute', () => { ...@@ -72,6 +74,7 @@ describe('#useRoute', () => {
], ],
[ [
{ {
type: 'v3-pool',
address: '0x2f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x2f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`10`, amountIn: amount`10`,
amountOut: amount`1`, amountOut: amount`1`,
...@@ -83,6 +86,7 @@ describe('#useRoute', () => { ...@@ -83,6 +86,7 @@ describe('#useRoute', () => {
tickCurrent: '-69633', tickCurrent: '-69633',
}, },
{ {
type: 'v3-pool',
address: '0x3f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x3f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`1`, amountIn: amount`1`,
amountOut: amount`200`, amountOut: amount`200`,
...@@ -118,6 +122,7 @@ describe('#useRoute', () => { ...@@ -118,6 +122,7 @@ describe('#useRoute', () => {
route: [ route: [
[ [
{ {
type: 'v3-pool',
address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`1`, amountIn: amount`1`,
amountOut: amount`5`, amountOut: amount`5`,
...@@ -131,6 +136,7 @@ describe('#useRoute', () => { ...@@ -131,6 +136,7 @@ describe('#useRoute', () => {
], ],
[ [
{ {
type: 'v3-pool',
address: '0x2f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x2f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`10`, amountIn: amount`10`,
amountOut: amount`50`, amountOut: amount`50`,
...@@ -162,6 +168,7 @@ describe('#useRoute', () => { ...@@ -162,6 +168,7 @@ describe('#useRoute', () => {
route: [ route: [
[ [
{ {
type: 'v3-pool',
address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: (1e18).toString(), amountIn: (1e18).toString(),
amountOut: amount`5`, amountOut: amount`5`,
...@@ -191,6 +198,7 @@ describe('#useRoute', () => { ...@@ -191,6 +198,7 @@ describe('#useRoute', () => {
route: [ route: [
[ [
{ {
type: 'v3-pool',
address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2', address: '0x1f8F72aA9304c8B593d555F12eF6589cC3A579A2',
amountIn: amount`5`, amountIn: amount`5`,
amountOut: (1e18).toString(), amountOut: (1e18).toString(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment