Escrow.test.js 383 B

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