Skip to content

Commit 69dd4cc

Browse files
committed
rm expect
1 parent a70c458 commit 69dd4cc

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

contracts/integration-test/GasSwap.spec.ts

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -218,22 +218,21 @@ describe("GasSwap.spec", async () => {
218218
await target.setAmountIn(amountIn);
219219

220220
await swap.updateApprovedTarget(target.address, true);
221-
await expect(
222-
swap.connect(signer).swap(
223-
{
224-
token: token.address,
225-
value: amountIn,
226-
deadline: constants.MaxUint256,
227-
r: signature.r,
228-
s: signature.s,
229-
v: signature.v,
230-
},
231-
{
232-
target: target.address,
233-
data: "0x8119c065",
234-
minOutput: 0,
235-
}
236-
)
221+
222+
swap.connect(signer).swap(
223+
{
224+
token: token.address,
225+
value: amountIn,
226+
deadline: constants.MaxUint256,
227+
r: signature.r,
228+
s: signature.s,
229+
v: signature.v,
230+
},
231+
{
232+
target: target.address,
233+
data: "0x8119c065",
234+
minOutput: 0,
235+
}
237236
);
238237
});
239238

0 commit comments

Comments
 (0)