import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary'; import { PageErrorAlert, PageErrorProvider, usePageError, } from 'sentry/utils/performance/contexts/pageError'; function SimpleErrorButton() { const context = usePageError(); return (