[ci] format
This commit is contained in:
parent
d25dc4c448
commit
527a3634d4
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ describe('Directives', async () => {
|
||||||
expect($('style').toString()).to.include('--bg: white;');
|
expect($('style').toString()).to.include('--bg: white;');
|
||||||
expect($('style').toString()).to.include('--fg: black;');
|
expect($('style').toString()).to.include('--fg: black;');
|
||||||
|
|
||||||
const scopedClass = $('html').attr('class').split(' ')
|
const scopedClass = $('html')
|
||||||
|
.attr('class')
|
||||||
|
.split(' ')
|
||||||
.find((name) => /^astro-[A-Za-z0-9-]+/.test(name));
|
.find((name) => /^astro-[A-Za-z0-9-]+/.test(name));
|
||||||
|
|
||||||
expect($('style').toString().replace(/\s+/g, '')).to.equal(
|
expect($('style').toString().replace(/\s+/g, '')).to.equal(
|
||||||
|
|
Loading…
Reference in a new issue