✅(react) fix flaky test
On CI, a test times out frequently. We increase the timeout threshold to prevent that.. Resolve #355
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
8e049bc21e
commit
2ee7450915
@@ -97,7 +97,7 @@ describe("<Button/>", () => {
|
|||||||
expect(
|
expect(
|
||||||
tokens.themes.default.components.button["border-radius"],
|
tokens.themes.default.components.button["border-radius"],
|
||||||
).toBeDefined();
|
).toBeDefined();
|
||||||
});
|
}, 10000);
|
||||||
|
|
||||||
it("renders with className", async () => {
|
it("renders with className", async () => {
|
||||||
render(<Button className="my-custom-class" />);
|
render(<Button className="my-custom-class" />);
|
||||||
|
|||||||
Reference in New Issue
Block a user