@@ -115,7 +115,7 @@ describe('Contract function call', () => {
115
115
const txid = '0x6c764e276b500babdac6cec159667f4b68938d31eee82419473a418222af7d5d' ;
116
116
fetchMock . once ( JSON . stringify ( TEST_ABI ) ) . once ( txid ) ;
117
117
118
- const result = await contractFunctionCall ( testnetNetwork , args ) ;
118
+ const result = JSON . parse ( await contractFunctionCall ( testnetNetwork , args ) ) ;
119
119
120
120
expect ( result . txid ) . toEqual ( txid ) ;
121
121
} ) ;
@@ -136,7 +136,7 @@ describe('Contract function call', () => {
136
136
const txid = '0x97f41dfa44a5833acd9ca30ffe31d7137623c0e31a5c6467daeed8e61a03f51c' ;
137
137
fetchMock . once ( JSON . stringify ( TEST_ABI ) ) . once ( txid ) ;
138
138
139
- const result = await contractFunctionCall ( testnetNetwork , args ) ;
139
+ const result = JSON . parse ( await contractFunctionCall ( testnetNetwork , args ) ) ;
140
140
141
141
expect ( result . txid ) . toEqual ( txid ) ;
142
142
} ) ;
@@ -157,7 +157,7 @@ describe('Contract function call', () => {
157
157
const txid = '0x5fc468f21345c5ecaf1c007fce9630d9a79ec1945ed8652cc3c42fb542e35fe2' ;
158
158
fetchMock . once ( JSON . stringify ( TEST_ABI ) ) . once ( txid ) ;
159
159
160
- const result = await contractFunctionCall ( testnetNetwork , args ) ;
160
+ const result = JSON . parse ( await contractFunctionCall ( testnetNetwork , args ) ) ;
161
161
162
162
expect ( result . txid ) . toEqual ( txid ) ;
163
163
} ) ;
@@ -182,7 +182,7 @@ describe('Contract function call', () => {
182
182
const txid = '0x94b1cfab79555b8c6725f19e4fcd6268934d905578a3e8ef7a1e542b931d3676' ;
183
183
fetchMock . once ( JSON . stringify ( TEST_ABI ) ) . once ( txid ) ;
184
184
185
- const result = await contractFunctionCall ( testnetNetwork , args ) ;
185
+ const result = JSON . parse ( await contractFunctionCall ( testnetNetwork , args ) ) ;
186
186
187
187
expect ( result . txid ) . toEqual ( txid ) ;
188
188
} ) ;
@@ -205,7 +205,7 @@ describe('Contract function call', () => {
205
205
const txid = '0x6b6cd5bfb44c46a68090f0c5f659e9cc02518eafab67b0b740e1e77a55bbf284' ;
206
206
fetchMock . once ( JSON . stringify ( TEST_ABI ) ) . once ( txid ) ;
207
207
208
- const result = await contractFunctionCall ( testnetNetwork , args ) ;
208
+ const result = JSON . parse ( await contractFunctionCall ( testnetNetwork , args ) ) ;
209
209
210
210
expect ( result . txid ) . toEqual ( txid ) ;
211
211
} ) ;
0 commit comments