Skip to content

Commit c90e90d

Browse files
committed
fix: increase timeout for FK relationships test
1 parent 6486bc3 commit c90e90d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/metaschema-modules/__tests__/modules.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ describe('db_meta_modules', () => {
193193
});
194194

195195
it('should verify module tables have proper foreign key relationships', async () => {
196+
// Increase timeout for this test as the FK query can be slow
197+
jest.setTimeout(30000);
196198
// Get all foreign key constraints for module tables
197199
const fkConstraints = await pg.any(`
198200
SELECT
@@ -339,4 +341,4 @@ describe('db_meta_modules', () => {
339341

340342
expect(snapshot({ columns })).toMatchSnapshot();
341343
});
342-
});
344+
});

0 commit comments

Comments
 (0)