Skip to content

Commit

Permalink
90: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dlford committed Sep 1, 2023
1 parent bc0808c commit 686668c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __TESTS__/character-counter.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ describe('CharacterCounter', () => {
await user.clear(input);
await user.type(input, testInput);

// eslint-disable-next-line no-promise-executor-return -- wait for debounce
await new Promise((resolve) =>
// eslint-disable-next-line no-promise-executor-return -- wait for debounce
setTimeout(resolve, debounceTime + 50),
);

Expand All @@ -47,8 +47,8 @@ describe('CharacterCounter', () => {
await user.clear(input);
await user.type(input, 'Hello, world!');

// eslint-disable-next-line no-promise-executor-return -- wait for debounce
await new Promise((resolve) =>
// eslint-disable-next-line no-promise-executor-return -- wait for debounce
setTimeout(resolve, debounceTime + 50),
);

Expand All @@ -66,8 +66,8 @@ describe('CharacterCounter', () => {

expect(input).toHaveValue('');

// eslint-disable-next-line no-promise-executor-return -- wait for debounce
await new Promise((resolve) =>
// eslint-disable-next-line no-promise-executor-return -- wait for debounce
setTimeout(resolve, debounceTime + 50),
);

Expand Down

0 comments on commit 686668c

Please sign in to comment.