@hyperlane-xyz/core
Version:
Core solidity contracts for Hyperlane
15 lines (10 loc) • 383 B
JavaScript
require('@openzeppelin/test-helpers');
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
const Escrow = artifacts.require('Escrow');
contract('Escrow', function (accounts) {
const [owner, ...otherAccounts] = accounts;
beforeEach(async function () {
this.escrow = await Escrow.new({ from: owner });
});
shouldBehaveLikeEscrow(owner, otherAccounts);
});