From f1205fef693cea9e81b45364395ed544b6eca3dd Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Thu, 11 Aug 2022 19:19:03 -0400 Subject: [PATCH] chore: update custom element test case --- packages/mdx/test/compile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mdx/test/compile.js b/packages/mdx/test/compile.js index 8b6d457a3..491f9ee3b 100644 --- a/packages/mdx/test/compile.js +++ b/packages/mdx/test/compile.js @@ -859,9 +859,9 @@ test('jsx', async () => { '/*@jsxRuntime automatic @jsxImportSource react*/', 'function _createMdxContent(props) {', ' const _components = Object.assign({', - ' "a-b": "a-b"', + ' a_b: "a-b"', ' }, props.components);', - ' return <>{<_components.a-b>};', + ' return <>{<_components.a_b>};', '}', 'function MDXContent(props = {}) {', ' const {wrapper: MDXLayout} = props.components || ({});',