Skip to content

Commit 2ee7450

Browse files
committed
✅(react) fix flaky test
On CI, a test times out frequently. We increase the timeout threshold to prevent that.. Resolve #355
1 parent 8e049bc commit 2ee7450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/components/Button/index.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe("<Button/>", () => {
9797
expect(
9898
tokens.themes.default.components.button["border-radius"],
9999
).toBeDefined();
100-
});
100+
}, 10000);
101101

102102
it("renders with className", async () => {
103103
render(<Button className="my-custom-class" />);

0 commit comments

Comments
 (0)