made tiny updates

This commit is contained in:
SinachPat
2026-05-04 12:30:56 +01:00
parent 3f029e15c2
commit 5b2d918c13
47 changed files with 2597 additions and 521 deletions
@@ -160,16 +160,16 @@ describe('IntentDiffSchema', () => {
id: UUID,
artboard_id: UUID,
author_id: 'user_xyz',
changes_jsonb: { propChanges: [], styleChanges: [] },
summary: 'Updated button variant',
status: 'DRAFT',
changes: { propChanges: [], styleChanges: [] },
aggregate_summary: 'Updated button variant',
status: 'draft',
created_at: NOW,
updated_at: NOW,
};
it('parses a valid diff', () => {
const d = IntentDiffSchema.parse(valid);
expect(d.status).toBe('DRAFT');
expect(d.status).toBe('draft');
expect(d.notes).toBeUndefined();
});