diff options
author | 2023-12-06 00:39:39 +0000 | |
---|---|---|
committer | 2023-12-06 00:39:39 +0000 | |
commit | dd24379f496dcc99aea3004d3d5236955d6705f9 (patch) | |
tree | 71488c4f3e08f9c530560165b93212c1fca1873f /packages/integrations/vue | |
parent | b832cd190199d4269d25d5d6e6b7efb399a69070 (diff) | |
download | astro-dd24379f496dcc99aea3004d3d5236955d6705f9.tar.gz astro-dd24379f496dcc99aea3004d3d5236955d6705f9.tar.zst astro-dd24379f496dcc99aea3004d3d5236955d6705f9.zip |
[ci] format
Diffstat (limited to 'packages/integrations/vue')
-rw-r--r-- | packages/integrations/vue/src/index.ts | 4 | ||||
-rw-r--r-- | packages/integrations/vue/test/app-entrypoint.test.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index 636dfba6a..ef3505587 100644 --- a/packages/integrations/vue/src/index.ts +++ b/packages/integrations/vue/src/index.ts @@ -50,7 +50,7 @@ function virtualAppEntrypoint(options: ViteOptions) { getExports = async (id: string) => { const info = await this.load.call(this, { id }); return info.exports ?? []; - } + }; } }, configureServer(server) { @@ -58,7 +58,7 @@ function virtualAppEntrypoint(options: ViteOptions) { getExports = async (id: string) => { const mod = await server.ssrLoadModule(id); return Object.keys(mod) ?? []; - } + }; } }, resolveId(id: string) { diff --git a/packages/integrations/vue/test/app-entrypoint.test.js b/packages/integrations/vue/test/app-entrypoint.test.js index 7a4061354..3a374be1c 100644 --- a/packages/integrations/vue/test/app-entrypoint.test.js +++ b/packages/integrations/vue/test/app-entrypoint.test.js @@ -69,7 +69,7 @@ describe('App Entrypoint no export default (dev)', () => { }); it('loads during SSR', async () => { - const html = await fixture.fetch('/').then(res => res.text()); + const html = await fixture.fetch('/').then((res) => res.text()); const { document } = parseHTML(html); const bar = document.querySelector('#foo > #bar'); expect(bar).not.to.be.undefined; @@ -77,7 +77,7 @@ describe('App Entrypoint no export default (dev)', () => { }); it('loads svg components without transforming them to assets', async () => { - const html = await fixture.fetch('/').then(res => res.text()); + const html = await fixture.fetch('/').then((res) => res.text()); const { document } = parseHTML(html); const client = document.querySelector('astro-island svg'); |