From b25154a075bd94108947cfaa23ee450735e6cfcc Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Sun, 20 Oct 2024 16:38:57 +0200 Subject: [PATCH] chore: fix test assertion --- test/render.test.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', () => {