Skip to content

Commit f6c97bd

Browse files
committed
test: update unit test
1 parent f1262ee commit f6c97bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pluggableWidgets/dropdown-sort-web/src/components/__test__/DropdownSort.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe("Dropdown Sort", () => {
100100
jest.spyOn(console, "error").mockImplementation(() => {});
101101
const filter = render(<DropdownSort {...commonProps} />);
102102
expect(filter.container.querySelector(".alert")?.textContent).toBe(
103-
"SortAPI is not available. Widget is out of parent context."
103+
"Error: widget is out of context. Please place the widget inside the Gallery header."
104104
);
105105
});
106106
});

0 commit comments

Comments
 (0)