Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed May 8, 2020
1 parent 5e114c3 commit 9d97c0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/roving-tab-index/test/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TestButton = forwardRef( ( { ...props }, ref ) => (
) );

describe( 'RovingTabIndexItem', () => {
it( 'requires RovingTabIndex to be declared as a parent component somewhere in the component heirarchy', () => {
it( 'requires RovingTabIndex to be declared as a parent component somewhere in the component hierarchy', () => {
expect( () =>
TestRenderer.create( <RovingTabIndexItem as={ TestButton } /> )
).toThrow();
Expand Down Expand Up @@ -48,7 +48,7 @@ describe( 'RovingTabIndexItem', () => {
expect( renderer.toJSON() ).toMatchSnapshot();
} );

it( 'allows children to bue declared using a child render function as an alternative to `as`', () => {
it( 'allows children to be declared using a child render function as an alternative to `as`', () => {
const renderer = TestRenderer.create(
<RovingTabIndex>
<RovingTabIndexItem>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/tree-grid/test/cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TestButton = forwardRef( ( { ...props }, ref ) => (
) );

describe( 'TreeGridCell', () => {
it( 'requires TreeGrid to be declared as a parent component somewhere in the component heirarchy', () => {
it( 'requires TreeGrid to be declared as a parent component somewhere in the component hierarchy', () => {
expect( () =>
TestRenderer.create(
<TreeGridCell>
Expand Down

0 comments on commit 9d97c0b

Please sign in to comment.