[ci] format
This commit is contained in:
parent
7eea37a075
commit
b65e84d888
2 changed files with 10 additions and 7 deletions
|
@ -179,7 +179,10 @@ describe('head injection', () => {
|
||||||
const html = await text();
|
const html = await text();
|
||||||
const $ = cheerio.load(html);
|
const $ = cheerio.load(html);
|
||||||
|
|
||||||
expect($('link[rel=stylesheet][href="/some/fake/styles.css"]')).to.have.a.lengthOf(1, 'found inner link');
|
expect($('link[rel=stylesheet][href="/some/fake/styles.css"]')).to.have.a.lengthOf(
|
||||||
|
1,
|
||||||
|
'found inner link'
|
||||||
|
);
|
||||||
expect($('#other')).to.have.a.lengthOf(1, 'Found the #other div');
|
expect($('#other')).to.have.a.lengthOf(1, 'Found the #other div');
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue