Skip to content

Commit

Permalink
Remove more stuff from controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Dec 14, 2022
1 parent e33752a commit 819d655
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/snaps-controllers/src/test-utils/controller.ts
Expand Up @@ -31,9 +31,6 @@ import {
import { MOCK_CRONJOB_PERMISSION } from './cronjob';
import { getNodeEES, getNodeEESMessenger } from './execution-environment';

export const TEST_SECRET_RECOVERY_PHRASE =
'test test test test test test test test test test test ball';

const asyncNoOp = async () => Promise.resolve();

/**
Expand Down Expand Up @@ -246,9 +243,6 @@ export const getSnapControllerOptions = (
const options = {
environmentEndowmentPermissions: [],
closeAllConnections: jest.fn(),
getMnemonicPhrase: jest
.fn()
.mockImplementation(() => TEST_SECRET_RECOVERY_PHRASE),
messenger: getSnapControllerMessenger(),
featureFlags: { dappsCanUpdateSnaps: true },
checkBlockList: jest
Expand Down Expand Up @@ -289,9 +283,6 @@ export const getSnapControllerWithEESOptions = ({
featureFlags: { dappsCanUpdateSnaps: true },
environmentEndowmentPermissions: [],
closeAllConnections: jest.fn(),
getMnemonicPhrase: jest
.fn()
.mockImplementation(() => TEST_SECRET_RECOVERY_PHRASE),
checkBlockList: jest
.fn()
.mockImplementation(async (snaps: CheckSnapBlockListArg) =>
Expand Down

0 comments on commit 819d655

Please sign in to comment.