Merge pull request #3944 from overleaf/revert-3943-revert-3735-as-chat-reducer

Re-do Refactor chat store to use React state

GitOrigin-RevId: 626e3379ddb2f75680742df8957fbe350ba89881
This commit is contained in:
Alasdair Smith
2021-04-24 02:10:01 +00:00
committed by Copybot
parent ff62a7e63c
commit f33c00f2fd
12 changed files with 788 additions and 475 deletions
@@ -52,7 +52,7 @@ describe('<ChatPane />', function () {
await screen.findByText('another message')
})
it('A loading spinner is rendered while the messages are loading, then disappears', async function () {
it('a loading spinner is rendered while the messages are loading, then disappears', async function () {
fetchMock.get(/messages/, [])
renderWithChatContext(<ChatPane />, { user })