🧪(react) fix Toast flacky test
This tests was sometimes failing due to this really low duration of the Toast.
This commit is contained in:
@@ -22,7 +22,7 @@ describe("<Toast />", () => {
|
|||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
toast("Toast content", ToastType.NEUTRAL, { duration: 10 })
|
toast("Toast content", ToastType.NEUTRAL, { duration: 50 })
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
Create toast
|
Create toast
|
||||||
|
|||||||
Reference in New Issue
Block a user