Migrate to Hardhat (#2397)

This commit is contained in:
Francisco Giordano
2020-10-28 17:03:05 -03:00
parent a1408a3411
commit 215b653a19
72 changed files with 254 additions and 321 deletions

View File

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