Skip to content

Commit 9b709ba

Browse files
committed
fix(scroll-shadow): visibility tests
1 parent c4a9912 commit 9b709ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/components/scroll-shadow/__tests__/scroll-shadow.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ describe("ScrollShadow", () => {
1717
expect(ref.current).not.toBeNull();
1818
});
1919

20-
it("should support controlled visible state", () => {
21-
const {getByTestId} = render(<ScrollShadow data-testid="scroll-shadow" visible="top" />);
20+
it("should support controlled visibility state", () => {
21+
const {getByTestId} = render(<ScrollShadow data-testid="scroll-shadow" visibility="top" />);
2222

2323
// should have the data-top-scroll attribute in true
2424
expect(getByTestId("scroll-shadow")).toHaveAttribute("data-top-scroll", "true");

0 commit comments

Comments
 (0)