We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e18282 commit 49815a6Copy full SHA for 49815a6
1 file changed
src/generators/metadata/utils/__tests__/parse.test.mjs
@@ -262,17 +262,5 @@ describe('parseApiDoc', () => {
262
assert.strictEqual(secondContent.length, 2);
263
assert.strictEqual(secondContent[0].type, 'heading');
264
});
265
-
266
- it('works correctly without top-level frontmatter', () => {
267
- const tree = u('root', [
268
- h('First Heading'),
269
- u('paragraph', [u('text', 'First content.')]),
270
- ]);
271
- const results = parseApiDoc({ path, tree }, typeMap);
272
273
- assert.strictEqual(results.length, 1);
274
- assert.strictEqual(results[0].content.children.length, 2);
275
- assert.strictEqual(results[0].content.children[0].type, 'heading');
276
- });
277
278
0 commit comments