Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 8300250

Browse files
committed
add more typings
1 parent a5e6869 commit 8300250

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/setToken-base.spec.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ import { INVALID_OPCODE, REVERT_ERROR } from "./constants/txn_error";
2525

2626
contract("{Set}", (accounts) => {
2727
let componentA: any;
28-
let unitsA: BigNumber;
28+
const unitsA: BigNumber = gWei(1);
2929
let componentB: any;
30-
let unitsB: BigNumber;
31-
32-
unitsA = gWei(1);
33-
unitsB = gWei(2);
30+
const unitsB: BigNumber = gWei(2);
3431

3532
let testAccount = accounts[0];
3633
let setToken: any;
@@ -91,7 +88,7 @@ contract("{Set}", (accounts) => {
9188
).to.eventually.be.rejectedWith(REVERT_ERROR);
9289
});
9390

94-
describe("should not allow creation of a {Set} with no inputs", async () => {
91+
it("should not allow creation of a {Set} with no inputs", async () => {
9592
await expect(
9693
SetToken.new([], [], TX_DEFAULTS),
9794
).to.eventually.be.rejectedWith(REVERT_ERROR);
@@ -158,7 +155,6 @@ contract("{Set}", (accounts) => {
158155

159156
// The logs should have the right quantity
160157
expect(issuanceLog._quantity).to.be.bignumber.equal(quantity);
161-
// assert.strictEqual(Number(issuanceLog._quantity.toString()), quantity, "Issuance logs");
162158

163159
// User should have less A token
164160
const postIssueBalanceAofOwner = await componentA.balanceOf(testAccount);

0 commit comments

Comments
 (0)