Skip to content

Commit 28340ca

Browse files
committed
Fix DocumentationTopic.spec.js
1 parent 75a36f3 commit 28340ca

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tests/unit/components/DocumentationTopic.spec.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,16 @@ const {
4444
} = DocumentationTopic.components;
4545

4646
const foo = {
47-
type: 'paragraph',
48-
inlineContent: [
49-
{
50-
type: 'text',
51-
text: 'foo',
52-
},
53-
],
47+
kind: PrimaryContent.constants.SectionKind.content,
48+
content: [{
49+
type: 'paragraph',
50+
inlineContent: [
51+
{
52+
type: 'text',
53+
text: 'foo',
54+
},
55+
],
56+
}],
5457
};
5558

5659
const abstract = {

0 commit comments

Comments
 (0)