Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Jan 30, 2024
1 parent aaf7cda commit d551d5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/token/ERC721/utils/ERC721Utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const deployReceiver = (revertType, returnValue = RECEIVER_MAGIC_VALUE) =>
ethers.deployContract('$ERC721ReceiverMock', [returnValue, revertType]);

const fixture = async () => {
const [operator, owner] = await ethers.getSigners();
const [eoa, operator, owner] = await ethers.getSigners();
const utils = await ethers.deployContract('$ERC721Utils');

const receivers = {
Expand All @@ -23,12 +23,13 @@ const fixture = async () => {
customError: await deployReceiver(RevertType.RevertWithCustomError),
panic: await deployReceiver(RevertType.Panic),
nonReceiver: await ethers.deployContract('CallReceiverMock'),
eoa,
};

return { operator, owner, utils, receivers };
};

describe('ERC721Utils', function () {
describe.only('ERC721Utils', function () {
beforeEach(async function () {
Object.assign(this, await loadFixture(fixture));
});
Expand Down

0 comments on commit d551d5c

Please sign in to comment.