diff options
author | 2024-12-02 17:03:55 +0000 | |
---|---|---|
committer | 2024-12-02 17:03:55 +0000 | |
commit | 3a76353248009c1960344a4d2d28d56ccb50bade (patch) | |
tree | 548f443db962d704e1d702dcb9120e1976e8f89b | |
parent | 10c6b8d720f9c8d6d09b630011caab9d1fa92afe (diff) | |
download | astro-3a76353248009c1960344a4d2d28d56ccb50bade.tar.gz astro-3a76353248009c1960344a4d2d28d56ccb50bade.tar.zst astro-3a76353248009c1960344a4d2d28d56ccb50bade.zip |
fix: update tests (#12586)
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
5 files changed, 29 insertions, 2 deletions
diff --git a/packages/astro/test/fixtures/astro-cookies/astro.config.mjs b/packages/astro/test/fixtures/astro-cookies/astro.config.mjs new file mode 100644 index 000000000..1ddc69dcc --- /dev/null +++ b/packages/astro/test/fixtures/astro-cookies/astro.config.mjs @@ -0,0 +1,7 @@ +import { defineConfig } from "astro/config"; + +export default defineConfig({ + security: { + checkOrigin: false + } +}) diff --git a/packages/astro/test/fixtures/redirects/astro.config.mjs b/packages/astro/test/fixtures/redirects/astro.config.mjs new file mode 100644 index 000000000..1ddc69dcc --- /dev/null +++ b/packages/astro/test/fixtures/redirects/astro.config.mjs @@ -0,0 +1,7 @@ +import { defineConfig } from "astro/config"; + +export default defineConfig({ + security: { + checkOrigin: false + } +}) diff --git a/packages/astro/test/fixtures/reroute/astro.config.mjs b/packages/astro/test/fixtures/reroute/astro.config.mjs index c800d0dda..b03ed31e2 100644 --- a/packages/astro/test/fixtures/reroute/astro.config.mjs +++ b/packages/astro/test/fixtures/reroute/astro.config.mjs @@ -2,5 +2,8 @@ import {defineConfig} from 'astro/config'; // https://astro.build/config export default defineConfig({ - site: "https://example.com" + site: "https://example.com", + security: { + checkOrigin: false + } }); diff --git a/packages/astro/test/fixtures/rewrite-server/astro.config.mjs b/packages/astro/test/fixtures/rewrite-server/astro.config.mjs index ecd3b2518..14db3602c 100644 --- a/packages/astro/test/fixtures/rewrite-server/astro.config.mjs +++ b/packages/astro/test/fixtures/rewrite-server/astro.config.mjs @@ -3,5 +3,8 @@ import {defineConfig} from 'astro/config'; // https://astro.build/config export default defineConfig({ output: "server", - site: "https://example.com" + site: "https://example.com", + security: { + checkOrigin: false + } }); diff --git a/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs b/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs new file mode 100644 index 000000000..1ddc69dcc --- /dev/null +++ b/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs @@ -0,0 +1,7 @@ +import { defineConfig } from "astro/config"; + +export default defineConfig({ + security: { + checkOrigin: false + } +}) |