diff --git a/components/badge/__tests__/__snapshots__/index.test.js.snap b/components/badge/__tests__/__snapshots__/index.test.js.snap index e72f4c8a5e..dd2d55ef57 100644 --- a/components/badge/__tests__/__snapshots__/index.test.js.snap +++ b/components/badge/__tests__/__snapshots__/index.test.js.snap @@ -70,7 +70,7 @@ exports[`Badge badge should support float number 2`] = ` `; exports[`Badge render Badge status/color when contains children 1`] = ` -Array [ +
@@ -80,7 +80,7 @@ Array [ data-show="true" title="5" /> - , + @@ -90,7 +90,7 @@ Array [ data-show="true" title="5" /> - , + @@ -101,8 +101,8 @@ Array [ style="background:#08c" title="5" /> - , -] + +
`; exports[`Badge render correct with negative number 1`] = ` diff --git a/components/badge/__tests__/index.test.js b/components/badge/__tests__/index.test.js index a0c389cca4..3cc1acff44 100644 --- a/components/badge/__tests__/index.test.js +++ b/components/badge/__tests__/index.test.js @@ -115,7 +115,7 @@ describe('Badge', () => { // https://github.com/ant-design/ant-design/issues/21331 it('render Badge status/color when contains children', () => { const wrapper = render( - <> +
@@ -125,7 +125,7 @@ describe('Badge', () => { - , +
, ); expect(wrapper).toMatchSnapshot(); })