import { render, screen } from '@testing-library/react-native'; import React from 'react'; import { LinearGradient } from '../LinearGradient'; it(`renders a complex gradient`, () => { render( ); expect(screen.toJSON()).toMatchSnapshot(); });