Skip to content

Commit 60454e1

Browse files
Copilothotlong
andcommitted
Fix plugin-editor test timeout by increasing beforeAll hook timeout to 30s
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 036bb7b commit 60454e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/plugin-editor/src/index.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ import { ComponentRegistry } from '@object-ui/core';
1111

1212
describe('Plugin Editor', () => {
1313
// Import all renderers to register them
14+
// Note: Monaco Editor is a heavy library that takes time to load
1415
beforeAll(async () => {
1516
await import('./index');
16-
});
17+
}, 30000); // 30 second timeout for Monaco Editor initialization
1718

1819
describe('code-editor component', () => {
1920
it('should be registered in ComponentRegistry', () => {

0 commit comments

Comments
 (0)