Context.test.js 459 B

123456789101112131415
  1. require('openzeppelin-test-helpers');
  2. const ContextMock = artifacts.require('ContextMock');
  3. const ContextMockCaller = artifacts.require('ContextMockCaller');
  4. const { shouldBehaveLikeRegularContext } = require('./Context.behavior');
  5. contract('Context', function ([_, sender]) {
  6. beforeEach(async function () {
  7. this.context = await ContextMock.new();
  8. this.caller = await ContextMockCaller.new();
  9. });
  10. shouldBehaveLikeRegularContext(sender);
  11. });