From 47f20a189f5479b5e84f99e6feda3be7080e455f Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Sun, 10 Apr 2022 18:26:43 -0700 Subject: [PATCH] update test names containing spaces --- .../astro.config.mjs | 0 .../package.json | 0 .../public/asset.txt | 0 .../public/nested/asset2.txt | 0 .../astro.config.mjs | 0 .../package.json | 0 .../pkg/package.json | 0 .../pkg/pkg.mjs | 0 .../src/components/ExternalHoisted.astro | 0 .../src/components/InlineHoisted.astro | 0 .../src/components/MainHead.astro | 0 .../src/components/Nav/index.jsx | 0 .../src/components/Nav/styles.module.scss | 0 .../src/layouts/Main.astro | 0 .../src/pages/company.json.ts | 0 .../src/pages/data/[slug].json.ts | 0 .../src/pages/hoisted.astro | 0 .../src/pages/index.astro | 0 .../src/pages/posts.json.js | 0 .../src/pages/posts/nested/more.md | 0 .../src/pages/posts/thoughts.md | 0 .../src/scripts/external-hoist.ts | 0 .../src/scripts/inline-hoist.js | 0 .../src/styles/main.scss | 0 packages/astro/test/static-build.test.js | 4 +-- pnpm-lock.yaml | 30 +++++++++---------- 26 files changed, 17 insertions(+), 17 deletions(-) rename packages/astro/test/fixtures/{static build SSR => static-build-ssr}/astro.config.mjs (100%) rename packages/astro/test/fixtures/{static build SSR => static-build-ssr}/package.json (100%) rename packages/astro/test/fixtures/{static build SSR => static-build-ssr}/public/asset.txt (100%) rename packages/astro/test/fixtures/{static build SSR => static-build-ssr}/public/nested/asset2.txt (100%) rename packages/astro/test/fixtures/{static build => static-build}/astro.config.mjs (100%) rename packages/astro/test/fixtures/{static build => static-build}/package.json (100%) rename packages/astro/test/fixtures/{static build => static-build}/pkg/package.json (100%) rename packages/astro/test/fixtures/{static build => static-build}/pkg/pkg.mjs (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/components/ExternalHoisted.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/components/InlineHoisted.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/components/MainHead.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/components/Nav/index.jsx (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/components/Nav/styles.module.scss (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/layouts/Main.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/company.json.ts (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/data/[slug].json.ts (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/hoisted.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/index.astro (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/posts.json.js (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/posts/nested/more.md (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/pages/posts/thoughts.md (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/scripts/external-hoist.ts (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/scripts/inline-hoist.js (100%) rename packages/astro/test/fixtures/{static build => static-build}/src/styles/main.scss (100%) diff --git a/packages/astro/test/fixtures/static build SSR/astro.config.mjs b/packages/astro/test/fixtures/static-build-ssr/astro.config.mjs similarity index 100% rename from packages/astro/test/fixtures/static build SSR/astro.config.mjs rename to packages/astro/test/fixtures/static-build-ssr/astro.config.mjs diff --git a/packages/astro/test/fixtures/static build SSR/package.json b/packages/astro/test/fixtures/static-build-ssr/package.json similarity index 100% rename from packages/astro/test/fixtures/static build SSR/package.json rename to packages/astro/test/fixtures/static-build-ssr/package.json diff --git a/packages/astro/test/fixtures/static build SSR/public/asset.txt b/packages/astro/test/fixtures/static-build-ssr/public/asset.txt similarity index 100% rename from packages/astro/test/fixtures/static build SSR/public/asset.txt rename to packages/astro/test/fixtures/static-build-ssr/public/asset.txt diff --git a/packages/astro/test/fixtures/static build SSR/public/nested/asset2.txt b/packages/astro/test/fixtures/static-build-ssr/public/nested/asset2.txt similarity index 100% rename from packages/astro/test/fixtures/static build SSR/public/nested/asset2.txt rename to packages/astro/test/fixtures/static-build-ssr/public/nested/asset2.txt diff --git a/packages/astro/test/fixtures/static build/astro.config.mjs b/packages/astro/test/fixtures/static-build/astro.config.mjs similarity index 100% rename from packages/astro/test/fixtures/static build/astro.config.mjs rename to packages/astro/test/fixtures/static-build/astro.config.mjs diff --git a/packages/astro/test/fixtures/static build/package.json b/packages/astro/test/fixtures/static-build/package.json similarity index 100% rename from packages/astro/test/fixtures/static build/package.json rename to packages/astro/test/fixtures/static-build/package.json diff --git a/packages/astro/test/fixtures/static build/pkg/package.json b/packages/astro/test/fixtures/static-build/pkg/package.json similarity index 100% rename from packages/astro/test/fixtures/static build/pkg/package.json rename to packages/astro/test/fixtures/static-build/pkg/package.json diff --git a/packages/astro/test/fixtures/static build/pkg/pkg.mjs b/packages/astro/test/fixtures/static-build/pkg/pkg.mjs similarity index 100% rename from packages/astro/test/fixtures/static build/pkg/pkg.mjs rename to packages/astro/test/fixtures/static-build/pkg/pkg.mjs diff --git a/packages/astro/test/fixtures/static build/src/components/ExternalHoisted.astro b/packages/astro/test/fixtures/static-build/src/components/ExternalHoisted.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/components/ExternalHoisted.astro rename to packages/astro/test/fixtures/static-build/src/components/ExternalHoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/components/InlineHoisted.astro b/packages/astro/test/fixtures/static-build/src/components/InlineHoisted.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/components/InlineHoisted.astro rename to packages/astro/test/fixtures/static-build/src/components/InlineHoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/components/MainHead.astro b/packages/astro/test/fixtures/static-build/src/components/MainHead.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/components/MainHead.astro rename to packages/astro/test/fixtures/static-build/src/components/MainHead.astro diff --git a/packages/astro/test/fixtures/static build/src/components/Nav/index.jsx b/packages/astro/test/fixtures/static-build/src/components/Nav/index.jsx similarity index 100% rename from packages/astro/test/fixtures/static build/src/components/Nav/index.jsx rename to packages/astro/test/fixtures/static-build/src/components/Nav/index.jsx diff --git a/packages/astro/test/fixtures/static build/src/components/Nav/styles.module.scss b/packages/astro/test/fixtures/static-build/src/components/Nav/styles.module.scss similarity index 100% rename from packages/astro/test/fixtures/static build/src/components/Nav/styles.module.scss rename to packages/astro/test/fixtures/static-build/src/components/Nav/styles.module.scss diff --git a/packages/astro/test/fixtures/static build/src/layouts/Main.astro b/packages/astro/test/fixtures/static-build/src/layouts/Main.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/layouts/Main.astro rename to packages/astro/test/fixtures/static-build/src/layouts/Main.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/company.json.ts b/packages/astro/test/fixtures/static-build/src/pages/company.json.ts similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/company.json.ts rename to packages/astro/test/fixtures/static-build/src/pages/company.json.ts diff --git a/packages/astro/test/fixtures/static build/src/pages/data/[slug].json.ts b/packages/astro/test/fixtures/static-build/src/pages/data/[slug].json.ts similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/data/[slug].json.ts rename to packages/astro/test/fixtures/static-build/src/pages/data/[slug].json.ts diff --git a/packages/astro/test/fixtures/static build/src/pages/hoisted.astro b/packages/astro/test/fixtures/static-build/src/pages/hoisted.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/hoisted.astro rename to packages/astro/test/fixtures/static-build/src/pages/hoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/index.astro b/packages/astro/test/fixtures/static-build/src/pages/index.astro similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/index.astro rename to packages/astro/test/fixtures/static-build/src/pages/index.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/posts.json.js b/packages/astro/test/fixtures/static-build/src/pages/posts.json.js similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/posts.json.js rename to packages/astro/test/fixtures/static-build/src/pages/posts.json.js diff --git a/packages/astro/test/fixtures/static build/src/pages/posts/nested/more.md b/packages/astro/test/fixtures/static-build/src/pages/posts/nested/more.md similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/posts/nested/more.md rename to packages/astro/test/fixtures/static-build/src/pages/posts/nested/more.md diff --git a/packages/astro/test/fixtures/static build/src/pages/posts/thoughts.md b/packages/astro/test/fixtures/static-build/src/pages/posts/thoughts.md similarity index 100% rename from packages/astro/test/fixtures/static build/src/pages/posts/thoughts.md rename to packages/astro/test/fixtures/static-build/src/pages/posts/thoughts.md diff --git a/packages/astro/test/fixtures/static build/src/scripts/external-hoist.ts b/packages/astro/test/fixtures/static-build/src/scripts/external-hoist.ts similarity index 100% rename from packages/astro/test/fixtures/static build/src/scripts/external-hoist.ts rename to packages/astro/test/fixtures/static-build/src/scripts/external-hoist.ts diff --git a/packages/astro/test/fixtures/static build/src/scripts/inline-hoist.js b/packages/astro/test/fixtures/static-build/src/scripts/inline-hoist.js similarity index 100% rename from packages/astro/test/fixtures/static build/src/scripts/inline-hoist.js rename to packages/astro/test/fixtures/static-build/src/scripts/inline-hoist.js diff --git a/packages/astro/test/fixtures/static build/src/styles/main.scss b/packages/astro/test/fixtures/static-build/src/styles/main.scss similarity index 100% rename from packages/astro/test/fixtures/static build/src/styles/main.scss rename to packages/astro/test/fixtures/static-build/src/styles/main.scss diff --git a/packages/astro/test/static-build.test.js b/packages/astro/test/static-build.test.js index f4cd4b276..3ed593ace 100644 --- a/packages/astro/test/static-build.test.js +++ b/packages/astro/test/static-build.test.js @@ -28,7 +28,7 @@ describe('Static build', () => { }; fixture = await loadFixture({ - root: './fixtures/static build/', + root: './fixtures/static-build/', }); await fixture.build({ logging }); }); @@ -172,7 +172,7 @@ describe('Static build', () => { describe('Static build SSR', () => { it('Copies public files', async () => { const fixture = await loadFixture({ - root: './fixtures/static build SSR/', + root: './fixtures/static-build-ssr/', }); await fixture.build(); const asset = await fixture.readFile('/client/nested/asset2.txt'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 190872d7d..b38d40c4e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1092,7 +1092,7 @@ importers: '@astrojs/solid-js': link:../../../../integrations/solid astro: link:../../.. - packages/astro/test/fixtures/static build: + packages/astro/test/fixtures/static-build: specifiers: '@astrojs/preact': workspace:* '@test/static-build-pkg': workspace:* @@ -1102,19 +1102,6 @@ importers: '@test/static-build-pkg': link:pkg astro: link:../../.. - packages/astro/test/fixtures/static build SSR: - specifiers: - '@astrojs/node': workspace:* - '@test/static-build-pkg': workspace:* - astro: workspace:* - dependencies: - '@astrojs/node': link:../../../../integrations/node - '@test/static-build-pkg': link:../static build/pkg - astro: link:../../.. - - packages/astro/test/fixtures/static build/pkg: - specifiers: {} - packages/astro/test/fixtures/static-build-code-component: specifiers: astro: workspace:* @@ -1137,6 +1124,19 @@ importers: dependencies: astro: link:../../.. + packages/astro/test/fixtures/static-build-ssr: + specifiers: + '@astrojs/node': workspace:* + '@test/static-build-pkg': workspace:* + astro: workspace:* + dependencies: + '@astrojs/node': link:../../../../integrations/node + '@test/static-build-pkg': link:../static-build/pkg + astro: link:../../.. + + packages/astro/test/fixtures/static-build/pkg: + specifiers: {} + packages/astro/test/fixtures/svelte-component: specifiers: '@astrojs/svelte': workspace:* @@ -10675,7 +10675,7 @@ packages: stylus: optional: true dependencies: - esbuild: 0.14.34 + esbuild: 0.14.30 postcss: 8.4.12 resolve: 1.22.0 rollup: 2.70.1