Skip to content

Commit b51807f

Browse files
committed
test: remove describe.only to enable all tests in IexecEscrowToken.receiveApproval
1 parent d9b56ba commit b51807f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/byContract/IexecEscrow/IexecEscrowToken.receiveApproval.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const datasetPrice = 1_000_000n;
3131
const workerpoolPrice = 1_000_000_000n;
3232
const volume = 1n;
3333

34-
describe.only('IexecEscrowToken-receiveApproval', () => {
34+
describe('IexecEscrowToken-receiveApproval', () => {
3535
let proxyAddress: string;
3636
let iexecPoco: IexecInterfaceToken;
3737
let iexecPocoAsRequester: IexecInterfaceToken;
@@ -208,9 +208,11 @@ describe.only('IexecEscrowToken-receiveApproval', () => {
208208

209209
// Verify total supply increased
210210
expect(await iexecPoco.totalSupply()).to.equal(initialTotalSupply + dealCost);
211+
// Total balance should be existing + new deposit - frozen
211212
expect(await iexecPoco.balanceOf(requester.address)).to.equal(
212-
initialBalance + dealCost,
213+
initialBalance + dealCost - dealCost,
213214
);
215+
expect(await iexecPoco.frozenOf(requester.address)).to.equal(dealCost);
214216
});
215217

216218
it('Should approve, deposit and match orders without dataset', async () => {

0 commit comments

Comments
 (0)