From 0a47fcd7211df9b717cededd90329c0fab30df2a Mon Sep 17 00:00:00 2001 From: Yuki Takei Date: Tue, 12 Nov 2024 21:03:42 +0000 Subject: [PATCH] fix callout test --- apps/app/src/features/callout/services/callout.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/src/features/callout/services/callout.spec.ts b/apps/app/src/features/callout/services/callout.spec.ts index 25ae4865c05..b591c03acc9 100644 --- a/apps/app/src/features/callout/services/callout.spec.ts +++ b/apps/app/src/features/callout/services/callout.spec.ts @@ -35,7 +35,7 @@ This is an info callout. expect(calloutNode.data.hName).toBe('callout'); expect(calloutNode.data.hProperties.type).toBe('info'); - expect(calloutNode.data.hProperties.label).toBe('info'); + expect(calloutNode.data.hProperties.label).not.toBeDefined(); assert('children' in calloutNode.children[0]); assert('value' in calloutNode.children[0].children[0]); @@ -107,7 +107,7 @@ This is an info callout. expect(calloutNode.data.hName).toBe('callout'); expect(calloutNode.data.hProperties.type).toBe('info'); - expect(calloutNode.data.hProperties.label).toBe('info'); + expect(calloutNode.data.hProperties.label).not.toBeDefined(); assert('children' in calloutNode.children[0]); assert('value' in calloutNode.children[0].children[0]);