Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Simplify types
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt committed Jul 18, 2023
1 parent 55a7cf4 commit 371cbe4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/KeyringController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
MOCK_HARDCODED_KEY,
MOCK_HEX,
} from './test';
import type { KeyringControllerArgs } from './types';

const MOCK_ENCRYPTION_KEY =
'{"alg":"A256GCM","ext":true,"k":"wYmxkxOOFBDP6F6VuuYFcRt_Po-tSLFHCWVolsHs4VI","key_ops":["encrypt","decrypt"],"kty":"oct"}';
Expand Down Expand Up @@ -52,9 +53,7 @@ async function initializeKeyringController({
password,
seedPhrase,
}: {
constructorOptions?: Partial<
ConstructorParameters<typeof KeyringController>[0]
>;
constructorOptions?: Partial<KeyringControllerArgs>;
password?: string;
seedPhrase?: string;
} = {}) {
Expand Down

0 comments on commit 371cbe4

Please sign in to comment.