We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1e849 commit d2d04b0Copy full SHA for d2d04b0
packages/integrations/sitemap/test/config.test.js
@@ -111,9 +111,13 @@ describe('Config', () => {
111
it('filter: uncaught errors are thrown', async () => {
112
fixture = await loadFixture({
113
root: './fixtures/static/',
114
- integrations: [sitemap({ filter: () => {
115
- throw new Error('filter error');
116
- } })],
+ integrations: [
+ sitemap({
+ filter: () => {
117
+ throw new Error('filter error');
118
+ },
119
+ }),
120
+ ],
121
});
122
await assert.rejects(fixture.build(), /^Error: filter error$/);
123
0 commit comments