Skip to content

Commit 2d3b621

Browse files
committed
Fix DocumentationTopic.spec.js
1 parent 86f0058 commit 2d3b621

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

tests/unit/components/DocumentationTopic.spec.js

Lines changed: 11 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 = {
@@ -1234,3 +1237,4 @@ describe('DocumentationTopic', () => {
12341237
});
12351238
});
12361239
});
1240+

0 commit comments

Comments
 (0)