Migrate to Hardhat (#2397)
This commit is contained in:
committed by
GitHub
parent
0c27ecc536
commit
f06738828b
@ -1,12 +1,10 @@
|
||||
const { accounts, contract } = require('@openzeppelin/test-environment');
|
||||
|
||||
const { expectEvent, expectRevert } = require('@openzeppelin/test-helpers');
|
||||
|
||||
const { expect } = require('chai');
|
||||
|
||||
const PausableMock = contract.fromArtifact('PausableMock');
|
||||
const PausableMock = artifacts.require('PausableMock');
|
||||
|
||||
describe('Pausable', function () {
|
||||
contract('Pausable', function (accounts) {
|
||||
const [ pauser ] = accounts;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
Reference in New Issue
Block a user