Files
openzeppelin-contracts/test/payment/escrow/Escrow.test.js

13 lines
365 B
JavaScript

require('openzeppelin-test-helpers');
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);
});