diff --git a/packages/contracts/test/10_unit-testing/11_plugin.ts b/packages/contracts/test/10_unit-testing/11_plugin.ts index 624e6f5c..11094e79 100644 --- a/packages/contracts/test/10_unit-testing/11_plugin.ts +++ b/packages/contracts/test/10_unit-testing/11_plugin.ts @@ -59,11 +59,7 @@ import { RATIO_BASE, DAO_PERMISSIONS, } from '@aragon/osx-commons-sdk'; -import { - DAO, - DAOStructs, - DAO__factory, -} from '@aragon/osx-ethers'; +import {DAO, DAOStructs, DAO__factory} from '@aragon/osx-ethers'; import {loadFixture, time} from '@nomicfoundation/hardhat-network-helpers'; import {SignerWithAddress} from '@nomiclabs/hardhat-ethers/signers'; import {expect} from 'chai'; diff --git a/packages/contracts/test/10_unit-testing/12_plugin-setup.ts b/packages/contracts/test/10_unit-testing/12_plugin-setup.ts index 833e28cb..34a6b63f 100644 --- a/packages/contracts/test/10_unit-testing/12_plugin-setup.ts +++ b/packages/contracts/test/10_unit-testing/12_plugin-setup.ts @@ -208,8 +208,9 @@ describe('TokenVotingSetup', function () { describe('prepareInstallation', async () => { it('fails if data is empty, or not of minimum length', async () => { - const {pluginSetup, dao, prepareInstallationInputs} = - await loadFixture(fixture); + const {pluginSetup, dao, prepareInstallationInputs} = await loadFixture( + fixture + ); // Try calling `prepareInstallation` without input data. await expect(pluginSetup.prepareInstallation(dao.address, [])).to.be diff --git a/packages/contracts/test/30_regression-testing/31_upgradeability.ts b/packages/contracts/test/30_regression-testing/31_upgradeability.ts index 8e41aa8a..f90ba72d 100644 --- a/packages/contracts/test/30_regression-testing/31_upgradeability.ts +++ b/packages/contracts/test/30_regression-testing/31_upgradeability.ts @@ -186,7 +186,7 @@ describe('Upgrades', () => { // Ensure that on the `upgrade`, `initialize` can not be called. try { await deployAndUpgradeFromToCheck( - // @ts-expect-error correct data type + // @ts-expect-error correct data type ...data ); @@ -195,12 +195,12 @@ describe('Upgrades', () => { expect(err.data).to.equal(AlreadyInitializedSignature); } data[8] = 'initializeFrom'; - // @ts-expect-error types castings will work + // @ts-expect-error types castings will work data[9] = [latestInitializerVersion, encodedParamsForUpgrade]; const {proxy, fromImplementation, toImplementation} = await deployAndUpgradeFromToCheck( - // @ts-expect-error correct data type + // @ts-expect-error correct data type ...data );