Migrate to Hardhat (#2397)
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
const { contract } = require('@openzeppelin/test-environment');
|
||||
const { BN, expectRevert } = require('@openzeppelin/test-helpers');
|
||||
|
||||
const { expect } = require('chai');
|
||||
|
||||
const SafeCastMock = contract.fromArtifact('SafeCastMock');
|
||||
const SafeCastMock = artifacts.require('SafeCastMock');
|
||||
|
||||
describe('SafeCast', async () => {
|
||||
contract('SafeCast', async (accounts) => {
|
||||
beforeEach(async function () {
|
||||
this.safeCast = await SafeCastMock.new();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user