From 8082f026332170740ef377127824c646aebcbb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Thu, 12 Dec 2024 23:48:00 +0100 Subject: [PATCH] fix thing --- .../__tests__/__snapshots__/styled.js.snap | 16 ++++++ packages/styled/__tests__/styled.js | 56 +++++++++---------- .../__snapshots__/prop-filtering.test.js.snap | 15 +++++ packages/styled/test/prop-filtering.test.js | 42 +++++++------- 4 files changed, 80 insertions(+), 49 deletions(-) diff --git a/packages/styled/__tests__/__snapshots__/styled.js.snap b/packages/styled/__tests__/__snapshots__/styled.js.snap index 467a48a41..7546e156c 100644 --- a/packages/styled/__tests__/__snapshots__/styled.js.snap +++ b/packages/styled/__tests__/__snapshots__/styled.js.snap @@ -376,10 +376,17 @@ exports[`styled no prop filtering on non string tags 1`] = ` } hello world @@ -391,10 +398,17 @@ exports[`styled no prop filtering on string tags started with upper case 1`] = ` } hello world @@ -489,6 +503,7 @@ exports[`styled prop filtering 1`] = ` class="emotion-0" data-wow="value" href="link" + is="true" > hello world @@ -505,6 +520,7 @@ exports[`styled prop filtering on composed styled components that are string tag class="emotion-0" data-wow="value" href="link" + is="true" > hello world diff --git a/packages/styled/__tests__/styled.js b/packages/styled/__tests__/styled.js index 083fbda0a..07c9b0b3c 100644 --- a/packages/styled/__tests__/styled.js +++ b/packages/styled/__tests__/styled.js @@ -466,13 +466,13 @@ describe('styled', () => { const { container } = render( { const { container } = render( { const { container } = render( { const { container } = render( hello world @@ -48,10 +55,17 @@ exports[`no prop filtering on string tags started with upper case 1`] = ` } hello world @@ -67,6 +81,7 @@ exports[`prop filtering 1`] = ` class="emotion-0 emotion-1" data-wow="value" href="link" + is="true" > hello world diff --git a/packages/styled/test/prop-filtering.test.js b/packages/styled/test/prop-filtering.test.js index 927f3fde6..461393f2f 100644 --- a/packages/styled/test/prop-filtering.test.js +++ b/packages/styled/test/prop-filtering.test.js @@ -73,13 +73,13 @@ test('prop filtering', () => { const { container } = render( { const { container } = render( { const { container } = render(