Files
OpenLearnX/backend/lib/openzeppelin-contracts/test/utils/escrow/Escrow.test.js
T
2025-07-27 10:39:02 +05:30

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