fix(editor): submission note sent as typed, copies purged again after sign-out
This commit is contained in:
1 parent
6471b25812
commit
5e0aa625a8
4 files changed
+22
-3
No files matched your search
@@ -145,7 +145,7 @@ describe('Submission', () => {
|
||||
).toBeTruthy()
|
||||
})
|
||||
|
||||
it('submits the trimmed note on the saved revision and reloads the sheet', async () => {
|
||||
it('submits the note as typed on the saved revision and reloads the sheet', async () => {
|
||||
await openReady()
|
||||
sb.submitSheetReview.mockResolvedValue('review-1' as never)
|
||||
const user = userEvent.setup()
|
||||
@@ -159,7 +159,7 @@ describe('Submission', () => {
|
||||
expect(sb.submitSheetReview).toHaveBeenCalledWith(expect.anything(), {
|
||||
version_id: 'ver-1',
|
||||
expected_revision: 3,
|
||||
note: 'Prête',
|
||||
note: ' Prête ',
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user