From b03dcbec65ba0bf318ddae3e56064af968ef5eba Mon Sep 17 00:00:00 2001 From: GleidsonDaniel Date: Tue, 30 Apr 2024 08:58:44 -0300 Subject: [PATCH] jest --- app/containers/Toast.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/containers/Toast.tsx b/app/containers/Toast.tsx index 781ad5b59..cd538734c 100644 --- a/app/containers/Toast.tsx +++ b/app/containers/Toast.tsx @@ -13,8 +13,9 @@ const styles = StyleSheet.create({ }, text: { fontSize: 14, - ...sharedStyles.textRegular, - ...sharedStyles.textAlignCenter + // jest error: TypeError: Cannot read property 'textRegular' of undefined + ...sharedStyles?.textRegular, + ...sharedStyles?.textAlignCenter } });