From 73aa9b5f49dbf07fe48d498c5a36c291b3aec9e2 Mon Sep 17 00:00:00 2001 From: nprimo Date: Wed, 15 Mar 2023 12:39:18 +0000 Subject: [PATCH] fix(fifty-shades-of-cold): improve test fix test that was failing correct solution --- dom/fifty-shades-of-cold_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/fifty-shades-of-cold_test.js b/dom/fifty-shades-of-cold_test.js index 74ffd4797..9fdeb8eb9 100644 --- a/dom/fifty-shades-of-cold_test.js +++ b/dom/fifty-shades-of-cold_test.js @@ -18,8 +18,8 @@ tests.push(async ({ page, eq }) => { ) const classes = style[0] - .split('\n') - .map(s => s.replace(/(\.|{|:|;|\s+|})/g, '')) + .split('}') + .map(s => s.replace(/(\.|{|:|;|\s+)/g, '')) .filter(Boolean) .sort()