🧪(react) fix Toast flacky test

This tests was sometimes failing due to this really low duration of
the Toast.
This commit is contained in:
Nathan Vasse
2024-01-08 16:24:56 +01:00
committed by NathanVss
parent 08b5f75b38
commit 1b049f5b03

View File

@@ -22,7 +22,7 @@ describe("<Toast />", () => {
return (
<Button
onClick={() =>
toast("Toast content", ToastType.NEUTRAL, { duration: 10 })
toast("Toast content", ToastType.NEUTRAL, { duration: 50 })
}
>
Create toast