Make test complete, add FIXME note
This commit is contained in:
parent
2b3fd1241d
commit
e99184b83f
@ -97,6 +97,8 @@ describe("Contributor contract", async function () {
|
|||||||
c = await Contributor.getContributorById(2);
|
c = await Contributor.getContributorById(2);
|
||||||
// TODO Are we required to use Wei for ERC20 tokens?
|
// TODO Are we required to use Wei for ERC20 tokens?
|
||||||
expect(c['balance'].toString()).to.equal("6500000000000000000000");
|
expect(c['balance'].toString()).to.equal("6500000000000000000000");
|
||||||
|
// FIXME This is also a BigNumber (uint256), but stored at Wei reolution
|
||||||
|
expect(c['kreditsWithdrawn'].toString()).to.equal('6500');
|
||||||
});
|
});
|
||||||
|
|
||||||
it("requires the withdrawable amount to be larger than 0", async function () {
|
it("requires the withdrawable amount to be larger than 0", async function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user