mirror of
https://github.com/status-im/discover-dapps.git
synced 2025-02-23 07:38:15 +00:00
Readability & cleanup
This commit is contained in:
parent
77d5e12861
commit
851ebcf6ec
@ -1,4 +1,3 @@
|
||||
/*global contract, config, it, embark, web3, before, describe, beforeEach*/
|
||||
const TestUtils = require("../utils/testUtils");
|
||||
|
||||
const DAppStore = require('Embark/contracts/DAppStore');
|
||||
@ -67,8 +66,7 @@ contract("DAppStore", function () {
|
||||
|
||||
// Check the DApp Store actually receives the SNT!
|
||||
let bal_receipt = await SNT.methods.balanceOf(DAppStore.options.address).call();
|
||||
let expected_bal = amount;
|
||||
assert.strictEqual(parseInt(bal_receipt, 10), expected_bal);
|
||||
assert.strictEqual(parseInt(bal_receipt, 10), amount);
|
||||
|
||||
// Having received the SNT, check that it updates the particular DApp balanc
|
||||
assert.strictEqual(parseInt(receipt.balance, 10), amount);
|
||||
|
Loading…
x
Reference in New Issue
Block a user