fix coverage

This commit is contained in:
mingda
2020-06-26 13:09:07 +08:00
parent ccce3f9cd8
commit 8de5d8f1ab
6 changed files with 20 additions and 8 deletions

View File

@@ -60,7 +60,7 @@ describe("Trader", () => {
assert.equal(await ctx.DODO.methods._QUOTE_BALANCE_().call(), "1101418160497943759027")
})
it.only("buy when R is ABOVE ONE", async () => {
it("buy when R is ABOVE ONE", async () => {
await ctx.DODO.methods.buyBaseToken(decimalStr("1"), decimalStr("110")).send(ctx.sendParam(trader))
await ctx.DODO.methods.buyBaseToken(decimalStr("1"), decimalStr("130")).send(ctx.sendParam(trader))
// trader balances