Moved Escrows into an escrow subdirectory, improved docs. (#1430)
* Moved Escrows into an escrow subdirectory, improved docs. * Fixed escrow mock. * Fixed some more imports.
This commit is contained in:
11
test/payment/escrow/Escrow.test.js
Normal file
11
test/payment/escrow/Escrow.test.js
Normal file
@ -0,0 +1,11 @@
|
||||
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);
|
||||
});
|
||||
Reference in New Issue
Block a user