Skip to content

Commit

Permalink
ci: fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Nov 7, 2024
1 parent d3757c3 commit 2a6c288
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 1 addition & 5 deletions packages/contracts/test/10_unit-testing/11_plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
5 changes: 3 additions & 2 deletions packages/contracts/test/10_unit-testing/12_plugin-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand All @@ -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
);

Expand Down

0 comments on commit 2a6c288

Please sign in to comment.