Skip to content

Commit

Permalink
fix callout test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Nov 12, 2024
1 parent a3466bf commit 0a47fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/app/src/features/callout/services/callout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down Expand Up @@ -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]);
Expand Down

0 comments on commit 0a47fcd

Please sign in to comment.