diff options
author | Vitaly Takmazov | 2022-11-13 18:26:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | 2934a854c7a77c8f65316ffa4d411866648c984f (patch) | |
tree | 36dff9c73dd6f763bb8dd8d2136e05372b8c5edc | |
parent | fd49f66c39ca96195cf7feb4432db9b528be5c80 (diff) |
Fix ESLint suggestions
-rw-r--r-- | vnext/src/ui/__tests__/MessageInput.test.js | 2 |
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(); }); |