Escrow.test.js 362 B

123456789101112
  1. require('@openzeppelin/test-helpers');
  2. const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
  3. const Escrow = artifacts.require('Escrow');
  4. contract('Escrow', function ([_, primary, ...otherAccounts]) {
  5. beforeEach(async function () {
  6. this.escrow = await Escrow.new({ from: primary });
  7. });
  8. shouldBehaveLikeEscrow(primary, otherAccounts);
  9. });