We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce69a57 commit 5d7e0b6Copy full SHA for 5d7e0b6
1 file changed
src/components/App/App.test.tsx
@@ -648,14 +648,16 @@ describe('App', () => {
648
});
649
650
it('does not append when transcript length does not grow', async () => {
651
- render(<App />);
+ const { rerender } = render(<App />);
652
await time.tick();
653
654
capturedCallbacks.onMessagesChange?.([{ role: 'user', content: 'saved' }]);
655
+ rerender(<App />);
656
657
appendMessage.mockClear();
658
659
660
661
662
663
expect(appendMessage).not.toHaveBeenCalled();
0 commit comments