(overrides: Partial<Diagram>)
| 40 | |
| 41 | // Helper to create a diagram with all required properties |
| 42 | const createDiagram = (overrides: Partial<Diagram>): Diagram => |
| 43 | ({ |
| 44 | id: testId(), |
| 45 | name: 'diagram', |
| 46 | databaseType: DatabaseType.GENERIC, |
| 47 | tables: [], |
| 48 | relationships: [], |
| 49 | createdAt: testTime, |
| 50 | updatedAt: testTime, |
| 51 | ...overrides, |
| 52 | }) as Diagram; |
| 53 | |
| 54 | describe('Composite Primary Keys', () => { |
| 55 | it('should handle tables with composite primary keys correctly', () => { |
no test coverage detected