* Moved Escrows into an escrow subdirectory, improved docs.
* Fixed escrow mock.
* Fixed some more imports.
(cherry picked from commit f3df2dab3d)
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);
|
|
});
|