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()