Skip to content

Commit ade84d7

Browse files
committed
follow the v6 structure
1 parent 4e38582 commit ade84d7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

lib/agent/fixtures/swap/getEstimatedDevForEth.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('totalLockedForProperty.spec.ts', () => {
66
const value = 'value'
77

88
const swapContract = {
9-
callStatic: {
10-
getEstimatedDevForEth: jest
9+
getEstimatedDevForEth: {
10+
staticCall: jest
1111
.fn()
1212
.mockImplementation(async () => Promise.resolve(value)),
1313
},
@@ -27,8 +27,8 @@ describe('totalLockedForProperty.spec.ts', () => {
2727
const value = ['value']
2828

2929
const swapContract = {
30-
callStatic: {
31-
getEstimatedDevForEth: jest
30+
getEstimatedDevForEth: {
31+
staticCall: jest
3232
.fn()
3333
.mockImplementation(async () => Promise.resolve(value)),
3434
},
@@ -48,8 +48,8 @@ describe('totalLockedForProperty.spec.ts', () => {
4848
const error = 'error'
4949

5050
const swapContract = {
51-
callStatic: {
52-
getEstimatedDevForEth: jest
51+
getEstimatedDevForEth: {
52+
staticCall: jest
5353
.fn()
5454
.mockImplementation(async () => Promise.reject(error)),
5555
},

lib/agent/fixtures/swap/getEstimatedEthForDev.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('totalLockedForProperty.spec.ts', () => {
66
const value = 'value'
77

88
const swapContract = {
9-
callStatic: {
10-
getEstimatedEthForDev: jest
9+
getEstimatedEthForDev: {
10+
staticCall: jest
1111
.fn()
1212
.mockImplementation(async () => Promise.resolve(value)),
1313
},
@@ -27,8 +27,8 @@ describe('totalLockedForProperty.spec.ts', () => {
2727
const value = ['value']
2828

2929
const swapContract = {
30-
callStatic: {
31-
getEstimatedEthForDev: jest
30+
getEstimatedEthForDev: {
31+
staticCall: jest
3232
.fn()
3333
.mockImplementation(async () => Promise.resolve(value)),
3434
},
@@ -48,8 +48,8 @@ describe('totalLockedForProperty.spec.ts', () => {
4848
const error = 'error'
4949

5050
const swapContract = {
51-
callStatic: {
52-
getEstimatedEthForDev: jest
51+
getEstimatedEthForDev: {
52+
staticCall: jest
5353
.fn()
5454
.mockImplementation(async () => Promise.reject(error)),
5555
},

0 commit comments

Comments
 (0)