Skip to content

Commit c5fe4c3

Browse files
committed
update coverage and tests
1 parent a7df527 commit c5fe4c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"branches": 93.28,
3-
"functions": 96.8,
4-
"lines": 98.15,
5-
"statements": 97.88
2+
"branches": 93.37,
3+
"functions": 96.81,
4+
"lines": 98.17,
5+
"statements": 97.91
66
}

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)