diff --git a/packages/dockview-core/src/__tests__/panel/componentFactory.spec.ts b/packages/dockview-core/src/__tests__/panel/componentFactory.spec.ts index 3fc2c0c53..4e330056a 100644 --- a/packages/dockview-core/src/__tests__/panel/componentFactory.spec.ts +++ b/packages/dockview-core/src/__tests__/panel/componentFactory.spec.ts @@ -96,7 +96,7 @@ describe('componentFactory', () => { expect(component).toHaveBeenCalled(); - expect(componentResult instanceof component); + expect(componentResult instanceof component).toBeTruthy(); }); }); });