* Moved Escrows into an escrow subdirectory, improved docs. * Fixed escrow mock. * Fixed some more imports.
12 lines
323 B
JavaScript
12 lines
323 B
JavaScript
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
|
|
|
|
const Escrow = artifacts.require('Escrow');
|
|
|
|
contract('Escrow', function ([_, primary, ...otherAccounts]) {
|
|
beforeEach(async function () {
|
|
this.escrow = await Escrow.new({ from: primary });
|
|
});
|
|
|
|
shouldBehaveLikeEscrow(primary, otherAccounts);
|
|
});
|