Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Mar 7, 2023
1 parent a206106 commit fbab73c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions packages/astro/src/vite-plugin-ssr-manifest/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import type { Plugin as VitePlugin } from 'vite';

const manifestVirtualModuleId = 'astro:ssr-manifest';
Expand All @@ -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;
}
},
Expand Down
2 changes: 0 additions & 2 deletions packages/astro/test/ssr-manifest.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import { expect } from 'chai';
import { loadFixture } from './test-utils.js';
import testAdapter from './test-adapter.js';
Expand All @@ -25,6 +24,5 @@ describe('astro:ssr-manifest', () => {

const $ = cheerio.load(html);
expect($('#assets').text()).to.equal('["/_astro/index.1bad7273.css"]');

});
});

0 comments on commit fbab73c

Please sign in to comment.