[ci] format
This commit is contained in:
parent
dff0d0dda2
commit
6b8d55b096
1 changed files with 10 additions and 8 deletions
|
@ -10,9 +10,11 @@ describe('Filter support', () => {
|
||||||
before(async () => {
|
before(async () => {
|
||||||
fixture = await loadFixture({
|
fixture = await loadFixture({
|
||||||
root: './fixtures/static/',
|
root: './fixtures/static/',
|
||||||
integrations: [sitemap({
|
integrations: [
|
||||||
filter: (page) => page !== 'http://example.com/two/'
|
sitemap({
|
||||||
})],
|
filter: (page) => page !== 'http://example.com/two/',
|
||||||
|
}),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
await fixture.build();
|
await fixture.build();
|
||||||
});
|
});
|
||||||
|
@ -28,9 +30,11 @@ describe('Filter support', () => {
|
||||||
before(async () => {
|
before(async () => {
|
||||||
fixture = await loadFixture({
|
fixture = await loadFixture({
|
||||||
root: './fixtures/ssr/',
|
root: './fixtures/ssr/',
|
||||||
integrations: [sitemap({
|
integrations: [
|
||||||
filter: (page) => page !== 'http://example.com/two/'
|
sitemap({
|
||||||
})],
|
filter: (page) => page !== 'http://example.com/two/',
|
||||||
|
}),
|
||||||
|
],
|
||||||
});
|
});
|
||||||
await fixture.build();
|
await fixture.build();
|
||||||
});
|
});
|
||||||
|
@ -41,6 +45,4 @@ describe('Filter support', () => {
|
||||||
expect(urls.length).to.equal(1);
|
expect(urls.length).to.equal(1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue