Files
openzeppelin-contracts/test/payment/Escrow.test.js
2018-09-25 19:33:58 -03:00

12 lines
327 B
JavaScript

const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
const Escrow = artifacts.require('EscrowMock');
contract('Escrow', function ([_, primary, ...otherAccounts]) {
beforeEach(async function () {
this.escrow = await Escrow.new({ from: primary });
});
shouldBehaveLikeEscrow(primary, otherAccounts);
});