style(app): apply prettier formatting
This commit is contained in:
1 parent
e13652a753
commit
8523ace11f
5 files changed
+17
-19
No files matched your search
@@ -8,9 +8,7 @@ const note: Note = { id: 42, title: 'Courses', content: 'Lait\nOeufs' }
|
||||
const renderView = (overrides: Partial<Note> = {}) => {
|
||||
const onEdit = vi.fn()
|
||||
const onDelete = vi.fn()
|
||||
render(
|
||||
<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />,
|
||||
)
|
||||
render(<NoteReadView note={{ ...note, ...overrides }} onEdit={onEdit} onDelete={onDelete} />)
|
||||
return { onEdit, onDelete }
|
||||
}
|
||||
|
||||
@@ -56,4 +54,4 @@ describe('NoteReadView', () => {
|
||||
|
||||
expect(onDelete).not.toHaveBeenCalled()
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user