Skip to content

Commit

Permalink
fix(odyssey-design-tokens): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancunningham-okta committed Sep 25, 2024
1 parent 1c31352 commit e7a6b9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/Typography.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { render, screen } from "@testing-library/react";
import { Typography } from "./Typography";

describe("Typography", () => {
test("renders overline", () => {
test("renders Overline", () => {
render(
<Typography ariaLabel="overline" variant="overline">
Overline test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const Heading1Story: StoryObj<TypographyProps> = {
// h1 & h2 stories throw the "Incomplete" accessibility violation on color-contrast. Even though the contrast is correct,
// disabling it for now as the typography color- contrast test is covered by other headings below.
// play: async ({}) => {
// await axeRun('Typopgraphy h1');
// await axeRun('Typography h1');
// },
};

Expand All @@ -172,7 +172,7 @@ export const Heading2Story: StoryObj<TypographyProps> = {
},
render: (args) => <Heading2 {...args} children={args.children} />,
// play: async ({}) => {
// await axeRun('Typopgraphy h2');
// await axeRun('Typography h2');
// },
};

Expand All @@ -184,7 +184,7 @@ export const Heading3Story: StoryObj<TypographyProps> = {
},
render: (args) => <Heading3 {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy h3");
await axeRun("Typography h3");
},
};

Expand All @@ -196,7 +196,7 @@ export const Heading4Story: StoryObj<TypographyProps> = {
},
render: (args) => <Heading4 {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy h4");
await axeRun("Typography h4");
},
};

Expand All @@ -208,7 +208,7 @@ export const Heading5Story: StoryObj<TypographyProps> = {
},
render: (args) => <Heading5 {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy h5");
await axeRun("Typography h5");
},
};

Expand All @@ -220,7 +220,7 @@ export const Heading6Story: StoryObj<TypographyProps> = {
},
render: (args) => <Heading6 {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy h6");
await axeRun("Typography h6");
},
};

Expand All @@ -232,7 +232,7 @@ export const BodyStory: StoryObj<TypographyProps> = {
},
render: (args) => <Paragraph {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy body");
await axeRun("Typography body");
},
};

Expand All @@ -244,7 +244,7 @@ export const LegendStory: StoryObj<TypographyProps> = {
},
render: (args) => <Legend {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy legend");
await axeRun("Typography legend");
},
};

Expand All @@ -256,7 +256,7 @@ export const OverlineStory: StoryObj<TypographyProps> = {
},
render: (args) => <Overline {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy Overline");
await axeRun("Typography Overline");
},
};

Expand All @@ -268,7 +268,7 @@ export const SubordinateStory: StoryObj<TypographyProps> = {
},
render: (args) => <Subordinate {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy subordinate");
await axeRun("Typography subordinate");
},
};

Expand All @@ -280,7 +280,7 @@ export const SupportStory: StoryObj<TypographyProps> = {
},
render: (args) => <Support {...args} children={args.children} />,
play: async ({}) => {
await axeRun("Typopgraphy support");
await axeRun("Typography support");
},
};

Expand Down

0 comments on commit e7a6b9c

Please sign in to comment.