mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Update species write button test expectation
This commit is contained in:
@@ -185,7 +185,7 @@ describe('WriteButton taxonomy handling', () => {
|
||||
expect(onWrite).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
expect(onWrite).toHaveBeenCalledWith(expect.objectContaining({ sp_comment: null }), expect.any(Function))
|
||||
expect(onWrite).toHaveBeenCalledWith(expect.objectContaining({ sp_comment: null }), expect.any(Function), undefined)
|
||||
expect(setEditData).toHaveBeenCalledWith(expect.objectContaining({ sp_comment: null }))
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user