import {render} from '@testing-library/react' import '@testing-library/jest-dom' test('renders a message', () => { const {asFragment, getByText} = render(<Greeting />) expect(getByText('Hello, world!')).toBeInTheDocument() expect(asFragment()).toMatchInlineSnapshot(` <h1>Hello, World!</h1> `) }) render OptionsYou won't often need to specify options, but if you ever do, here are the available opti