Skip to content

Commit c35d1db

Browse files
committed
update coverage and tests
1 parent 26f8e28 commit c35d1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/snaps-rpc-methods/src/permitted/createInterface.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe('snap_createInterface', () => {
141141
error: {
142142
code: -32602,
143143
message:
144-
'Invalid params: At path: ui -- Expected type to be one of: "Address", "Bold", "Box", "Button", "Copyable", "Divider", "Dropdown", "RadioGroup", "Field", "FileInput", "Form", "Heading", "Input", "Image", "Italic", "Link", "Row", "Spinner", "Text", "Tooltip", "Checkbox", "Card", "Icon", "Selector", "Section", "Avatar", "Banner", "Skeleton", "Container", but received: undefined.',
144+
'Invalid params: At path: ui -- Expected type to be one of: "AccountSelector", "Address", "Bold", "Box", "Button", "Copyable", "Divider", "Dropdown", "RadioGroup", "Field", "FileInput", "Form", "Heading", "Input", "Image", "Italic", "Link", "Row", "Spinner", "Text", "Tooltip", "Checkbox", "Card", "Icon", "Selector", "Section", "Avatar", "Banner", "Skeleton", "Container", but received: undefined.',
145145
stack: expect.any(String),
146146
},
147147
id: 1,
@@ -191,7 +191,7 @@ describe('snap_createInterface', () => {
191191
error: {
192192
code: -32602,
193193
message:
194-
'Invalid params: At path: ui.props.children.props.children -- Expected type to be one of: "Input", "Dropdown", "RadioGroup", "FileInput", "Checkbox", "Selector", but received: "Copyable".',
194+
'Invalid params: At path: ui.props.children.props.children -- Expected type to be one of: "AccountSelector", "Input", "Dropdown", "RadioGroup", "FileInput", "Checkbox", "Selector", but received: "Copyable".',
195195
stack: expect.any(String),
196196
},
197197
id: 1,

0 commit comments

Comments
 (0)