diff --git a/test/render.test.jsx b/test/render.test.jsx index 4591569..30437d6 100644 --- a/test/render.test.jsx +++ b/test/render.test.jsx @@ -49,13 +49,13 @@ describe('render', () => { ); } let rendered = render( -
+
xa bc{children}d
); - expect(rendered).not.to.contain(/\s/); + expect(rendered).not.to.match(/\s/); }); it('should not indent when attributes contain newlines', () => {