[ci] format
This commit is contained in:
parent
c773dcde31
commit
42e0e0fa5c
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ function isPageStyleVirtualModule(id: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isRawOrUrlModule(id: string) {
|
function isRawOrUrlModule(id: string) {
|
||||||
return id.match(/(\?|\&)([^=]+)(raw|url)/gm)
|
return id.match(/(\?|\&)([^=]+)(raw|url)/gm);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PluginOptions {
|
interface PluginOptions {
|
||||||
|
|
|
@ -75,5 +75,5 @@ describe('CSS Bundling (ESM import)', () => {
|
||||||
// this makes sure the styles imported with ?url were inlined
|
// this makes sure the styles imported with ?url were inlined
|
||||||
let inlineCss = $('style').html().replace(/\s/g, '').replace('/n', '');
|
let inlineCss = $('style').html().replace(/\s/g, '').replace('/n', '');
|
||||||
expect(inlineCss.indexOf('p{color:purple;}')).to.be.greaterThanOrEqual(0);
|
expect(inlineCss.indexOf('p{color:purple;}')).to.be.greaterThanOrEqual(0);
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue