Skip to content

Commit 6fd489b

Browse files
committed
Fix tests
1 parent bdde4c9 commit 6fd489b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

packages/snaps-controllers/src/snaps/registry/SnapsRegistryController.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,13 @@ describe('SnapsRegistryController', () => {
681681
registry.metadata,
682682
'includeInDebugSnapshot',
683683
),
684-
).toMatchInlineSnapshot(`{}`);
684+
).toMatchInlineSnapshot(`
685+
{
686+
"databaseUnavailable": false,
687+
"lastUpdated": null,
688+
"signature": null,
689+
}
690+
`);
685691
});
686692

687693
it('includes expected state in state logs', () => {

packages/snaps-controllers/src/test-utils/controller.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,11 +811,11 @@ export const getRestrictedSnapsRegistryControllerMessenger = (
811811
> = getRootSnapsRegistryControllerMessenger(),
812812
) => {
813813
return new Messenger<
814-
'SnapsRegistry',
814+
'SnapsRegistryController',
815815
SnapsRegistryControllerActions,
816816
SnapsRegistryEvents,
817817
any
818-
>({ namespace: 'SnapsRegistry', parent: messenger });
818+
>({ namespace: 'SnapsRegistryController', parent: messenger });
819819
};
820820

821821
/**

0 commit comments

Comments
 (0)