From 59f9016e8d98570e4414086f2c7c12d68ae2c0e9 Mon Sep 17 00:00:00 2001 From: mathuo <6710312+mathuo@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:19:34 +0100 Subject: [PATCH] test: fix assertion --- .../dockview-core/src/__tests__/panel/componentFactory.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }); });