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

18 lines
487 B
JavaScript

require('@openzeppelin/test-helpers');
const ContextMock = artifacts.require('ContextMock');
const ContextMockCaller = artifacts.require('ContextMockCaller');
const { shouldBehaveLikeRegularContext } = require('./Context.behavior');
contract('Context', function (accounts) {
const [sender] = accounts;
beforeEach(async function () {
this.context = await ContextMock.new();
this.caller = await ContextMockCaller.new();
});
shouldBehaveLikeRegularContext(sender);
});