Files
openzeppelin-contracts/test/payment/Escrow.test.js
2018-08-03 14:41:54 -03:00

12 lines
317 B
JavaScript

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