diff --git a/packages/astro/test/fixtures/middleware-dev/package.json b/packages/astro/test/fixtures/middleware space/package.json similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/package.json rename to packages/astro/test/fixtures/middleware space/package.json diff --git a/packages/astro/test/fixtures/middleware-dev/src/middleware.js b/packages/astro/test/fixtures/middleware space/src/middleware.js similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/middleware.js rename to packages/astro/test/fixtures/middleware space/src/middleware.js diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/404.astro b/packages/astro/test/fixtures/middleware space/src/pages/404.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/404.astro rename to packages/astro/test/fixtures/middleware space/src/pages/404.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/api/endpoint.js b/packages/astro/test/fixtures/middleware space/src/pages/api/endpoint.js similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/api/endpoint.js rename to packages/astro/test/fixtures/middleware space/src/pages/api/endpoint.js diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/broken-500.astro b/packages/astro/test/fixtures/middleware space/src/pages/broken-500.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/broken-500.astro rename to packages/astro/test/fixtures/middleware space/src/pages/broken-500.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/broken-locals.astro b/packages/astro/test/fixtures/middleware space/src/pages/broken-locals.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/broken-locals.astro rename to packages/astro/test/fixtures/middleware space/src/pages/broken-locals.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/clone.astro b/packages/astro/test/fixtures/middleware space/src/pages/clone.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/clone.astro rename to packages/astro/test/fixtures/middleware space/src/pages/clone.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/does-nothing.astro b/packages/astro/test/fixtures/middleware space/src/pages/does-nothing.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/does-nothing.astro rename to packages/astro/test/fixtures/middleware space/src/pages/does-nothing.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/index.astro b/packages/astro/test/fixtures/middleware space/src/pages/index.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/index.astro rename to packages/astro/test/fixtures/middleware space/src/pages/index.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/lorem.astro b/packages/astro/test/fixtures/middleware space/src/pages/lorem.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/lorem.astro rename to packages/astro/test/fixtures/middleware space/src/pages/lorem.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/not-interested.astro b/packages/astro/test/fixtures/middleware space/src/pages/not-interested.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/not-interested.astro rename to packages/astro/test/fixtures/middleware space/src/pages/not-interested.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/redirect.astro b/packages/astro/test/fixtures/middleware space/src/pages/redirect.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/redirect.astro rename to packages/astro/test/fixtures/middleware space/src/pages/redirect.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/rewrite.astro b/packages/astro/test/fixtures/middleware space/src/pages/rewrite.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/rewrite.astro rename to packages/astro/test/fixtures/middleware space/src/pages/rewrite.astro diff --git a/packages/astro/test/fixtures/middleware-dev/src/pages/second.astro b/packages/astro/test/fixtures/middleware space/src/pages/second.astro similarity index 100% rename from packages/astro/test/fixtures/middleware-dev/src/pages/second.astro rename to packages/astro/test/fixtures/middleware space/src/pages/second.astro diff --git a/packages/astro/test/middleware.test.js b/packages/astro/test/middleware.test.js index 9ca4841d4e4e6..81f167647b599 100644 --- a/packages/astro/test/middleware.test.js +++ b/packages/astro/test/middleware.test.js @@ -12,7 +12,7 @@ describe('Middleware in DEV mode', () => { before(async () => { fixture = await loadFixture({ - root: './fixtures/middleware-dev/', + root: './fixtures/middleware space/', }); devServer = await fixture.startDevServer(); }); @@ -116,7 +116,7 @@ describe('Middleware API in PROD mode, SSR', () => { before(async () => { fixture = await loadFixture({ - root: './fixtures/middleware-dev/', + root: './fixtures/middleware space/', output: 'server', adapter: testAdapter({}), }); @@ -223,7 +223,7 @@ describe('Middleware API in PROD mode, SSR', () => { it('the integration should receive the path to the middleware', async () => { fixture = await loadFixture({ - root: './fixtures/middleware-dev/', + root: './fixtures/middleware space/', output: 'server', build: { excludeMiddleware: true, @@ -275,7 +275,7 @@ describe('Middleware, split middleware option', () => { before(async () => { fixture = await loadFixture({ - root: './fixtures/middleware-dev/', + root: './fixtures/middleware space/', output: 'server', build: { excludeMiddleware: true, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1aebf6930f4cf..eb5e684fa34bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2847,7 +2847,7 @@ importers: specifier: workspace:* version: link:../../.. - packages/astro/test/fixtures/middleware-dev: + packages/astro/test/fixtures/middleware space: dependencies: astro: specifier: workspace:*