* All tests now use account names, and dont use accounts[0] (except ERC721) * Added account names to some missing contracts.
12 lines
318 B
JavaScript
12 lines
318 B
JavaScript
const { shouldBehaveLikeEscrow } = require('./Escrow.behaviour');
|
|
|
|
const Escrow = artifacts.require('Escrow');
|
|
|
|
contract('Escrow', function ([_, owner, ...otherAccounts]) {
|
|
beforeEach(async function () {
|
|
this.escrow = await Escrow.new({ from: owner });
|
|
});
|
|
|
|
shouldBehaveLikeEscrow(owner, otherAccounts);
|
|
});
|