Skip to content

Commit

Permalink
adapt to eip-1193 provider changes: sendAsync deprecated, use request…
Browse files Browse the repository at this point in the history
… instead.
  • Loading branch information
kanthesha committed Jul 12, 2024
1 parent 810513a commit 174ed15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ test('tracker with broken provider', async function (t) {
try {
tracker = new TokenTracker({
provider: {
sendAsync: () => {
request: () => {
throw new Error('Fake provider error')
}
},
Expand All @@ -392,7 +392,7 @@ test('tracker with broken provider and includeFailedTokens', async function (t)
try {
tracker = new TokenTracker({
provider: {
sendAsync: () => {
request: () => {
throw new Error('Fake provider error')
}
},
Expand Down

0 comments on commit 174ed15

Please sign in to comment.