diff options
author | 2024-09-11 14:26:50 +0200 | |
---|---|---|
committer | 2024-09-11 14:26:50 +0200 | |
commit | c4d2f17aba5b352573e6ac182803ec5d763c8c87 (patch) | |
tree | 2ee2e33e316bb3e2bffa93facd6cda27a361752d /packages/integrations/cloudflare/test/no-output.test.js | |
parent | 8d4c5276f39ab4391d064740c9c2f2666d494663 (diff) | |
download | astro-c4d2f17aba5b352573e6ac182803ec5d763c8c87.tar.gz astro-c4d2f17aba5b352573e6ac182803ec5d763c8c87.tar.zst astro-c4d2f17aba5b352573e6ac182803ec5d763c8c87.zip |
feat: remove hybrid (#375)
* feat: remove hybrid
* fix: udpate with new API
* fix: update for latest next changes
* fix: more test-utils fix
* fix: build
* fix: build
* fix: tests
* fix: netlify
* fix: astro env
* fix: use types from AStro
* chore: changeset
Diffstat (limited to 'packages/integrations/cloudflare/test/no-output.test.js')
-rw-r--r-- | packages/integrations/cloudflare/test/no-output.test.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/packages/integrations/cloudflare/test/no-output.test.js b/packages/integrations/cloudflare/test/no-output.test.js deleted file mode 100644 index bf5321491..000000000 --- a/packages/integrations/cloudflare/test/no-output.test.js +++ /dev/null @@ -1,23 +0,0 @@ -import * as assert from 'node:assert/strict'; -import { describe, it } from 'node:test'; -import { fileURLToPath } from 'node:url'; -import { astroCli } from './_test-utils.js'; - -const root = new URL('./fixtures/no-output/', import.meta.url); - -describe('MissingOutputConfig', () => { - it('throws during the build', async () => { - let error = undefined; - try { - await astroCli(fileURLToPath(root), 'build'); - } catch (err) { - error = err; - } - assert.notEqual(error, undefined); - assert.ok( - error.message.includes( - '[@astrojs/cloudflare] `output: "server"` or `output: "hybrid"` is required to use this adapter.' - ) - ); - }); -}); |