mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] format
This commit is contained in:
parent
1568afb78a
commit
756f9595e7
2 changed files with 5 additions and 5 deletions
|
@ -140,7 +140,7 @@ export class BuildPipeline extends Pipeline {
|
||||||
return {
|
return {
|
||||||
...manifest,
|
...manifest,
|
||||||
renderers: renderers.renderers as SSRLoadedRenderer[],
|
renderers: renderers.renderers as SSRLoadedRenderer[],
|
||||||
middleware
|
middleware,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -279,9 +279,9 @@ describe('Middleware API in PROD mode, SSR', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can set locals for prerendered pages to use', async () => {
|
it('can set locals for prerendered pages to use', async () => {
|
||||||
const text = await fixture.readFile("/client/prerendered/index.html")
|
const text = await fixture.readFile('/client/prerendered/index.html');
|
||||||
expect(text.includes('<p>yes they can!</p>')).to.be.true;
|
expect(text.includes('<p>yes they can!</p>')).to.be.true;
|
||||||
})
|
});
|
||||||
|
|
||||||
// keep this last
|
// keep this last
|
||||||
it('the integration should receive the path to the middleware', async () => {
|
it('the integration should receive the path to the middleware', async () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue