/* eslint-disable max-lines-per-function */ import React from 'react'; import { Text } from 'react-native'; import { cleanup, render, screen, setup } from '@/lib/test-utils'; import { Button } from './button'; afterEach(cleanup); describe('Button component ', () => { it('should render correctly ', () => { render(, ); expect(screen.getByText('Custom child')).toBeOnTheScreen(); }); it('should render the label correctly', () => { render(