Lines Matching refs:heading
10 it('returns no padding for h1 heading', () => {
14 it('returns no padding for h2 heading', () => {
18 it('returns 1x padding for h3 heading', () => {
22 it('returns 2x padding for h4 heading', () => {
26 it('returns 3x padding for h5 heading', () => {
30 it('returns 4x padding for h6 heading', () => {
36 it('returns normal text from h1 heading', () => {
43 it('returns normal text from h2 heading', () => {
50 it('returns normal text from h3 heading with platform specification', () => {
57 it('returns code text from h4 heading with function name', () => {
64 it('returns code text from h5 heading with function name and args', () => {
71 it('returns code text from h6 heading with function name, args, and return type', () => {
82 render(<Tag data-testid="heading">{text}</Tag>);
83 return screen.getByTestId('heading') as HTMLHeadingElement;