Skip to content

Commit

Permalink
fix: more spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed Sep 17, 2024
1 parent b0b669a commit 458331d
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export {
getOwnableExecutorOwners,
getExecuteOnOwnedAccountAction,
getExecuteBatchOnOwnedAccountAction,
} from './ownable-executer'
} from './ownable-executor'

export {
AUTO_SAVINGS_ADDRESS,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/e2e/infra/installModuleActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { SafeHookType } from 'src/account/safe/types'
import { encodeValidationData } from 'src/module/ownable-validator/usage'
import { getSudoPolicy } from 'src/module/smart-sessions/policies/sudo-policy'
import { privateKeyToAccount } from 'viem/accounts'
import { getOwnableExecutor } from 'src/module/ownable-executer'
import { getOwnableExecutor } from 'src/module/ownable-executor'
import { getSocialRecoveryValidator } from 'src/module/social-recovery/installation'
import { getAutoSavingsExecutor } from 'src/module/auto-savings'
import {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/infra/unInstallModuleActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from 'src/module'
import { Account } from 'src/account'
import { Hex, PublicClient } from 'viem'
import { OWNABLE_EXECUTER_ADDRESS } from 'src/module/ownable-executer'
import { OWNABLE_EXECUTER_ADDRESS } from 'src/module/ownable-executor'
import { SOCIAL_RECOVERY_ADDRESS } from 'src/module/social-recovery/constants'
import { AUTO_SAVINGS_ADDRESS } from 'src/module/auto-savings'
import {
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/modules/ownableExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {
getOwnableExecutorOwners,
getRemoveOwnableExecutorOwnerAction,
OWNABLE_EXECUTER_ADDRESS,
} from 'src/module/ownable-executer'
} from 'src/module/ownable-executor'
import { Address, getAddress, Hex, PublicClient, TestClient } from 'viem'
import { getInstallModuleData, sendUserOp } from '../infra'
import {
getExecuteBatchOnOwnedAccountAction,
getExecuteOnOwnedAccountAction,
} from 'src/module/ownable-executer/usage'
} from 'src/module/ownable-executor/usage'

type Params = {
account: Account
Expand All @@ -23,7 +23,7 @@ export const testOwnableExecutor = async ({
account,
publicClient,
}: Params) => {
it('should return true when checking ownable executer isInstalled', async () => {
it('should return true when checking ownable executor isInstalled', async () => {
const isOwnableValidatorInstalled = await isModuleInstalled({
account,
client: publicClient,
Expand All @@ -47,7 +47,7 @@ export const testOwnableExecutor = async ({
expect(getAddress(owners[0])).toEqual(getAddress(ownableExecutor.owner))
}, 20000)

it('should add new owner to ownable executer', async () => {
it('should add new owner to ownable executor', async () => {
const newOwner = '0x206f270A1eBB6Dd3Bc97581376168014FD6eE57c' as Address

const oldOwners = await getOwnableExecutorOwners({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MockClient } from 'test/utils/mocks/client'
import { getAccount } from 'src'
import { MockAccountDeployed } from 'test/utils/mocks/account'

describe('Ownable Executer Module', () => {
describe('Ownable Executor Module', () => {
// Setup
const client = getClient(MockClient)
const account = getAccount(MockAccountDeployed)
Expand All @@ -23,7 +23,7 @@ describe('Ownable Executer Module', () => {
'0x9FF36a253C70b65122B47c70F2AfaF65F2957118',
] as Address[]

it('should get install ownable executer module', async () => {
it('should get install ownable executor module', async () => {
const installOwnableExecutorModule = getOwnableExecutor({
owner: owners[0],
})
Expand Down

0 comments on commit 458331d

Please sign in to comment.