diff --git a/components/badge/__tests__/__snapshots__/index.test.js.snap b/components/badge/__tests__/__snapshots__/index.test.js.snap index c0c765c740..657fe94054 100644 --- a/components/badge/__tests__/__snapshots__/index.test.js.snap +++ b/components/badge/__tests__/__snapshots__/index.test.js.snap @@ -7,11 +7,12 @@ exports[`Badge should be compatible with borderColor style 1`] = `

{ }); it('should be compatible with borderColor style', () => { - const wrapper = mount(); - expect(wrapper.render()).toMatchSnapshot(); + const wrapper = render(); + expect(wrapper).toMatchSnapshot(); }); });