Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Mar 6, 2024
1 parent 12f3e45 commit a2837cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/controls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const Controls = ( { settings, piano, onChange }: Props ) => {
</BaseControl>
<SelectControl
className="piano-block-controls__control"
label={ __( 'Insturment', 'piano-block' ) }
label={ __( 'Instrument', 'piano-block' ) }
value={ instrument }
options={ INSTRUMENTS.map( ( { label, value } ) => {
return { label, value };
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test.describe( 'Block', () => {
await pageUtils.pressKeys( 'z' );
// Instrument
await pageUtils.pressKeys( 'ArrowRight', { times: 4 } );
await expect( page.getByRole( 'combobox', { name: 'Insturment' } ) ).toBeFocused();
await expect( page.getByRole( 'combobox', { name: 'Instrument' } ) ).toBeFocused();
await pageUtils.pressKeys( 'Enter' );
await pageUtils.pressKeys( 'ArrowDown', { times: 14 } );
await pageUtils.pressKeys( 'Enter' );
Expand Down

0 comments on commit a2837cf

Please sign in to comment.