Skip to content

Commit

Permalink
palette-edit // revert changes and add eslint-disable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Jul 5, 2024
1 parent ff14a28 commit 2b21b06
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/components/src/palette-edit/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ async function clearInput( input: HTMLInputElement ) {
await click( input );

// Press backspace as many times as the input's current value
[ ...Array( input.value.length ) ].forEach(
async () => await press.Backspace()
);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for ( const _ of Array( input.value.length ) ) {
await press.Backspace();
}
}

describe( 'getNameAndSlugForPosition', () => {
Expand Down

0 comments on commit 2b21b06

Please sign in to comment.