fix(ui): repair sync test contracts

This commit is contained in:
Bohdan Triapitsyn
2026-08-07 08:41:30 +03:00
parent f5603153df
commit 0ff630c297
2 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ describe("input-store attachments", () => {
expect(await addPromise).toBe(true)
const files = useInputStore.getState().attachedFiles
expect(files).toHaveLength(1)
expect(files[0].sourceDocumentId).toBeUndefined()
expect(files[0].sourceDocumentId).toBe(undefined)
useInputStore.getState().removeAttachedFile(files[0].id)
expect(useInputStore.getState().attachedFiles).toEqual([])