From b8cf1a2d0285622798ef4cb62516c8c9bfd71f5f Mon Sep 17 00:00:00 2001 From: Linda Paiste Date: Wed, 2 Aug 2023 20:48:08 -0500 Subject: [PATCH 1/2] Create unit tests for Toast component. --- client/modules/IDE/components/Toast.jsx | 2 +- client/modules/IDE/components/Toast.test.jsx | 54 ++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 client/modules/IDE/components/Toast.test.jsx diff --git a/client/modules/IDE/components/Toast.jsx b/client/modules/IDE/components/Toast.jsx index 0f16282220..882d101748 100644 --- a/client/modules/IDE/components/Toast.jsx +++ b/client/modules/IDE/components/Toast.jsx @@ -13,7 +13,7 @@ export default function Toast() { return null; } return ( -
+

{t(text)}