[ci] format

This commit is contained in:
delucis 2023-09-27 19:19:41 +00:00 committed by astrobot-houston
parent 9b0114c7d3
commit 5121740de7
2 changed files with 16 additions and 15 deletions

View file

@ -40,9 +40,9 @@ describe('Integration API', () => {
{
name: 'test',
hooks: {
"astro:config:setup": ({ updateConfig }) => {
'astro:config:setup': ({ updateConfig }) => {
updateConfig({ site });
}
},
},
},
],
@ -62,19 +62,21 @@ describe('Integration API', () => {
{
name: 'test',
hooks: {
"astro:config:setup": ({ updateConfig }) => {
'astro:config:setup': ({ updateConfig }) => {
updateConfig({
integrations: [{
name: 'dynamically-added',
hooks: {
// eslint-disable-next-line @typescript-eslint/no-shadow
"astro:config:setup": ({ updateConfig }) => {
updateConfig({ site });
}
integrations: [
{
name: 'dynamically-added',
hooks: {
// eslint-disable-next-line @typescript-eslint/no-shadow
'astro:config:setup': ({ updateConfig }) => {
updateConfig({ site });
},
},
},
}],
],
});
}
},
},
},
],
@ -84,7 +86,6 @@ describe('Integration API', () => {
expect(updatedSettings.config.site).to.equal(site);
expect(updatedSettings.config.integrations.length).to.equal(2);
});
});
describe('Astro feature map', function () {