Migrate to Hardhat (#2397)
This commit is contained in:
committed by
GitHub
parent
0c27ecc536
commit
f06738828b
@ -1,14 +1,13 @@
|
||||
const { accounts, contract } = require('@openzeppelin/test-environment');
|
||||
const { BN } = require('@openzeppelin/test-helpers');
|
||||
|
||||
const ERC1155Holder = contract.fromArtifact('ERC1155Holder');
|
||||
const ERC1155Mock = contract.fromArtifact('ERC1155Mock');
|
||||
const ERC1155Holder = artifacts.require('ERC1155Holder');
|
||||
const ERC1155Mock = artifacts.require('ERC1155Mock');
|
||||
|
||||
const { expect } = require('chai');
|
||||
|
||||
const { shouldSupportInterfaces } = require('../../introspection/SupportsInterface.behavior');
|
||||
|
||||
describe('ERC1155Holder', function () {
|
||||
contract('ERC1155Holder', function (accounts) {
|
||||
const [creator] = accounts;
|
||||
const uri = 'https://token-cdn-domain/{id}.json';
|
||||
const multiTokenIds = [new BN(1), new BN(2), new BN(3)];
|
||||
|
||||
Reference in New Issue
Block a user