aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-13 18:26:43 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit2934a854c7a77c8f65316ffa4d411866648c984f (patch)
tree36dff9c73dd6f763bb8dd8d2136e05372b8c5edc /vnext/src/ui
parentfd49f66c39ca96195cf7feb4432db9b528be5c80 (diff)
Fix ESLint suggestions
Diffstat (limited to 'vnext/src/ui')
-rw-r--r--vnext/src/ui/__tests__/MessageInput.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/ui/__tests__/MessageInput.test.js b/vnext/src/ui/__tests__/MessageInput.test.js
index 1b5b0442..0bfe2569 100644
--- a/vnext/src/ui/__tests__/MessageInput.test.js
+++ b/vnext/src/ui/__tests__/MessageInput.test.js
@@ -40,7 +40,7 @@ test('Submits on ctrl-enter and pass validation', async () => {
});
expect(onSend).toHaveBeenCalledTimes(2);
expect(result).toBe(true);
- await waitFor(() => expect(textarea.textContent).toEqual(''));
+ await waitFor(() => expect(textarea).toHaveTextContent(''));
textarea.focus();
expect(textarea).toHaveFocus();
});