Files
openzeppelin-contracts/test/utils/escrow/Escrow.test.js
github-actions 6ae39c4dc1 Update docs
2023-05-09 19:56:30 +00:00

15 lines
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);
});