mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
16 lines
591 B
TypeScript
16 lines
591 B
TypeScript
import {renderWithOnboardingLayout} from 'sentry-test/onboarding/renderWithOnboardingLayout';
|
|
import {screen} from 'sentry-test/reactTestingLibrary';
|
|
|
|
import docs from './gin';
|
|
|
|
describe('gin onboarding docs', function () {
|
|
it('renders docs correctly', function () {
|
|
renderWithOnboardingLayout(docs);
|
|
|
|
// Renders main headings
|
|
expect(screen.getByRole('heading', {name: 'Install'})).toBeInTheDocument();
|
|
expect(screen.getByRole('heading', {name: 'Configure SDK'})).toBeInTheDocument();
|
|
expect(screen.getByRole('heading', {name: 'Usage'})).toBeInTheDocument();
|
|
});
|
|
});
|