- Download OpenAPI specification:
-
-
+ Download OpenAPI specification:
+
+
-
+
Hello!
\n'); + expect(typeof parts[1]).toEqual('object'); + expect((parts[1] as MDXComponentMeta).component).toEqual(TestComponent); + expect(parts[2]).toEqual('Bye
\n'); + }); + + test('renderMdWithComponents should work with mdx-like syntax', () => { + const source = 'Hello!\nHello!
\n'); + expect(typeof parts[1]).toEqual('object'); + expect((parts[1] as MDXComponentMeta).component).toBe(TestComponent); + expect(parts[2]).toEqual('Bye
\n'); + }); + + test('renderMdWithComponents should parse attribute names', () => { + const source = '