mirror of https://github.com/01-edu/public.git
fix(fifty-shades-of-cold): improve test
fix test that was failing correct solution
This commit is contained in:
parent
4df6305906
commit
73aa9b5f49
|
@ -18,8 +18,8 @@ tests.push(async ({ page, eq }) => {
|
||||||
)
|
)
|
||||||
|
|
||||||
const classes = style[0]
|
const classes = style[0]
|
||||||
.split('\n')
|
.split('}')
|
||||||
.map(s => s.replace(/(\.|{|:|;|\s+|})/g, ''))
|
.map(s => s.replace(/(\.|{|:|;|\s+)/g, ''))
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
.sort()
|
.sort()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue