Skip to content

Commit

Permalink
remove bad async
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed May 31, 2022
1 parent 88d518e commit 15db8cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/finance/PaymentSplitter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ contract('PaymentSplitter', function (accounts) {
}));
});

describe('accepts payments', async function () {
describe('accepts payments', function () {
it('Ether', async function () {
await send.ether(owner, this.contract.address, amount);

Expand All @@ -79,7 +79,7 @@ contract('PaymentSplitter', function (accounts) {
});
});

describe('shares', async function () {
describe('shares', function () {
it('stores shares if address is payee', async function () {
expect(await this.contract.shares(payee1)).to.be.bignumber.not.equal('0');
});
Expand All @@ -89,8 +89,8 @@ contract('PaymentSplitter', function (accounts) {
});
});

describe('release', async function () {
describe('Ether', async function () {
describe('release', function () {
describe('Ether', function () {
it('reverts if no funds to claim', async function () {
await expectRevert(this.contract.release(payee1),
'PaymentSplitter: account is not due payment',
Expand All @@ -104,7 +104,7 @@ contract('PaymentSplitter', function (accounts) {
});
});

describe('Token', async function () {
describe('Token', function () {
it('reverts if no funds to claim', async function () {
await expectRevert(this.contract.release(this.token.address, payee1),
'PaymentSplitter: account is not due payment',
Expand All @@ -119,7 +119,7 @@ contract('PaymentSplitter', function (accounts) {
});
});

describe('distributes funds to payees', async function () {
describe('distributes funds to payees', function () {
it('Ether', async function () {
await send.ether(payer1, this.contract.address, amount);

Expand Down

0 comments on commit 15db8cb

Please sign in to comment.