Skip to content

Commit bb87d82

Browse files
committed
Add a test
1 parent fa64220 commit bb87d82

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
2+
import {screen} from 'sentry-test/reactTestingLibrary';
3+
4+
import docs from './convex';
5+
6+
describe('convex onboarding docs', function () {
7+
it('renders docs correctly', function () {
8+
renderWithOnboardingLayout(docs);
9+
10+
// Renders main headings
11+
expect(screen.getByRole('heading', {name: 'Install'})).toBeInTheDocument();
12+
expect(screen.getByRole('heading', {name: 'Verify'})).toBeInTheDocument();
13+
});
14+
});

0 commit comments

Comments
 (0)