Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ describe('javascript-remix onboarding docs', () => {
).toBeInTheDocument();
});

it('documents the supported Remix version', () => {
renderWithOnboardingLayout(docs);

expect(
screen.getByText(textWithMarkupMatcher(/supports Remix 2\.x/))
).toBeInTheDocument();
});

it('has metrics onboarding configuration', () => {
expect(docs.metricsOnboarding).toBeDefined();
expect(docs.metricsOnboarding?.install).toBeDefined();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ import {getInstallContent} from './utils';
export const onboarding: OnboardingConfig = {
introduction: () => (
<p>
{tct(
"Sentry's integration with [remixLink:Remix] supports Remix 1.0.0 and above.",
{
remixLink: <ExternalLink href="https://remix.run/" />,
}
)}
{tct("Sentry's integration with [remixLink:Remix] supports Remix 2.x.", {
remixLink: <ExternalLink href="https://remix.run/" />,
})}
</p>
),
install: (params: DocsParams) => [
Expand Down
Loading