Skip to content

Commit

Permalink
3028:yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hannaseithe authored and steffenkleinle committed Feb 17, 2025
1 parent 77a689c commit 89a1a86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/src/components/__tests__/ChatConversation.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,4 @@ describe('ChatConversation', () => {
expect(grandparents[3]?.textContent).toMatch(/Human Message 3/)
expect(parents[3]).toHaveStyle(`opacity: 0`)
})

Check warning on line 159 in web/src/components/__tests__/ChatConversation.spec.tsx

View check run for this annotation

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)

❌ New issue: Code Duplication

The module contains 2 functions with similar structure: 'should display icon after isAutomaticAnswer changes','should not display icon isAutomaticAnswer does not change'. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.

})

0 comments on commit 89a1a86

Please sign in to comment.