Escrow.test.js 317 B

1234567891011
  1. const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
  2. const Escrow = artifacts.require('Escrow');
  3. contract('Escrow', function ([_, owner, ...otherAccounts]) {
  4. beforeEach(async function () {
  5. this.escrow = await Escrow.new({ from: owner });
  6. });
  7. shouldBehaveLikeEscrow(owner, otherAccounts);
  8. });