summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-03-07 16:38:11 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-03-07 16:38:11 +0000
commitfbab73c96e9cecc23eff7e78a5d919b0aa8ec2cf (patch)
tree36cae2667f0cceae77c65f4c20c8a236aabbecb2
parenta20610609863ae3b48afe96819b8f11ae4f414d5 (diff)
downloadastro-fbab73c96e9cecc23eff7e78a5d919b0aa8ec2cf.tar.gz
astro-fbab73c96e9cecc23eff7e78a5d919b0aa8ec2cf.tar.zst
astro-fbab73c96e9cecc23eff7e78a5d919b0aa8ec2cf.zip
[ci] format
-rw-r--r--packages/astro/src/vite-plugin-ssr-manifest/index.ts3
-rw-r--r--packages/astro/test/ssr-manifest.test.js2
2 files changed, 1 insertions, 4 deletions
diff --git a/packages/astro/src/vite-plugin-ssr-manifest/index.ts b/packages/astro/src/vite-plugin-ssr-manifest/index.ts
index a6cb94915..4ced3d032 100644
--- a/packages/astro/src/vite-plugin-ssr-manifest/index.ts
+++ b/packages/astro/src/vite-plugin-ssr-manifest/index.ts
@@ -1,4 +1,3 @@
-
import type { Plugin as VitePlugin } from 'vite';
const manifestVirtualModuleId = 'astro:ssr-manifest';
@@ -9,7 +8,7 @@ export function vitePluginSSRManifest(): VitePlugin {
name: '@astrojs/vite-plugin-astro-ssr-manifest',
enforce: 'post',
resolveId(id, parent) {
- if(id === manifestVirtualModuleId) {
+ if (id === manifestVirtualModuleId) {
return resolvedManifestVirtualModuleId;
}
},
diff --git a/packages/astro/test/ssr-manifest.test.js b/packages/astro/test/ssr-manifest.test.js
index cb24e02ea..519f86a66 100644
--- a/packages/astro/test/ssr-manifest.test.js
+++ b/packages/astro/test/ssr-manifest.test.js
@@ -1,4 +1,3 @@
-
import { expect } from 'chai';
import { loadFixture } from './test-utils.js';
import testAdapter from './test-adapter.js';
@@ -25,6 +24,5 @@ describe('astro:ssr-manifest', () => {
const $ = cheerio.load(html);
expect($('#assets').text()).to.equal('["/_astro/index.1bad7273.css"]');
-
});
});