Skip to content
This repository was archived by the owner on May 4, 2025. It is now read-only.

Commit a427b5a

Browse files
author
Nikolay Manchev
committed
chore: fixed failing test after rebasing
Signed-off-by: Nikolay Manchev <nikolay.manchev@limechain.tech>
1 parent 021f819 commit a427b5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugins-ui/src/__tests__/policy/policy.util.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ describe("generatePolicy", () => {
4848
someStringInput: "text",
4949
},
5050
},
51+
public_key: "",
5152
});
5253
});
5354
});

plugins-ui/src/__tests__/shared/TokenSelector.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe("TokenSelector Component", () => {
8282
});
8383

8484
it("should show message when no matches to the filter are found", () => {
85-
render(<TokenSelector {...widgetProps} />);
85+
render(<TokenSelector {...widgetProps} value={undefined} />);
8686

8787
const openButton = screen.getByRole("button", { name: "Open modal" });
8888
fireEvent.click(openButton);

0 commit comments

Comments
 (0)