Skip to content

Commit

Permalink
bump expect
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Arregui committed Jun 13, 2023
1 parent 53f15d3 commit ef9472b
Show file tree
Hide file tree
Showing 73 changed files with 516 additions and 733 deletions.
868 changes: 322 additions & 546 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@types/node-fetch": "^2.6.1",
"bignumber.js": "^9.0.1",
"coveralls": "^3.1.0",
"expect": "^26.6.2",
"expect": "^29.5.0",
"fp-future": "^1.0.1",
"ganache-cli": "^6.12.2",
"isomorphic-fetch": "^3.0.0",
Expand Down
5 changes: 2 additions & 3 deletions test/allevents.decode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect'
import expect from 'expect'
import { BigNumber } from '../src/utils/BigNumber'
import { AllSolidityEvents } from '../src/AllSolidityEvents'
import { RequestManager } from '../src'
Expand Down Expand Up @@ -155,8 +155,7 @@ let tests = [
logIndex: 1,
removed: false,
transactionIndex: 16,
data:
'0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004',
data: '0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004',
topics: [
'0x0e99121e9409665e680573fa7da0cb6651dbdcf10c95f585b92b2c9b9702cff9',
'0x0000000000000000000000000000000000000000000000000000000000000010',
Expand Down
12 changes: 6 additions & 6 deletions test/async.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect'
import expect from 'expect'

import { RequestManager } from '../src'
import { FakeHttpProvider } from './helpers/FakeHttpProvider'
Expand All @@ -7,16 +7,16 @@ let tests = [
{
input: {
from: '00c5496aee77c1ba1f0854206a26dda82a81d6d8',
to: '00c5496aee77c1ba1f0854206a26dda82a81d6d8',
to: '00c5496aee77c1ba1f0854206a26dda82a81d6d8'
},
formattedInput: {
from: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8',
to: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8',
to: '0x00c5496aee77c1ba1f0854206a26dda82a81d6d8'
},
result: '0xb',
formattedResult: '0xb',
call: 'eth_sendTransaction',
},
call: 'eth_sendTransaction'
}
]

describe('async', function () {
Expand Down Expand Up @@ -51,7 +51,7 @@ describe('async', function () {

provider.injectError({
message: test.result,
code: -32603,
code: -32603
})
})

Expand Down
2 changes: 1 addition & 1 deletion test/coder.decodeParam.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect'
import expect from 'expect'
import * as coder from '../src/solidity/coder'
import { Tuple } from '../src/abi/coder'
import { BigNumber as bn } from '../dist/eth-connect'
Expand Down
2 changes: 1 addition & 1 deletion test/coder.encodeParam.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as expect from 'expect'
import expect from 'expect'
import * as coder from '../src/solidity/coder'
import { hexToBytes } from '../src'
import { parseParamType } from '../src/abi/parser'
Expand Down
Loading

0 comments on commit ef9472b

Please sign in to comment.