Christhoval Barba

Results 4 comments of Christhoval Barba

useDropdownAlert.js ```js /** * @author: Christhoval Barba * @flow * @format */ import React, {createContext, useRef, useMemo, useState, useContext} from 'react'; import {DropdownAlert} from 'components/dropdownAlert'; import type {DropdownAlertType} from 'react-native-dropdownalert';...

@pors current solution wrap Modal with AlertProvider and use hook. Modals use different index or elevation, then alerts and other modal is behind

``` it('should render the screen without any crashing', async () => { const ref = createRef(); const {getByText} = renderModalize(...) // Check if modal is close expect(() => getByText('TEXT')).toThrow('Unable to...

@vishaldhanotiyadev you need provide a context provider to success test running. Example ```tsx ... test ```