summaryrefslogtreecommitdiff
path: root/packages/integrations/node/test/api-route.test.js
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-07-25 00:18:02 -0400
committerGravatar GitHub <noreply@github.com> 2022-07-25 00:18:02 -0400
commit42da2e23eb3f677d25b7ed0aab273f219c8cab4e (patch)
treeff36c910b6b1b7408e3e24507451da48ffeda1a1 /packages/integrations/node/test/api-route.test.js
parent3f716dba24c5ba4e230977d5209422ba3c85a0be (diff)
downloadastro-42da2e23eb3f677d25b7ed0aab273f219c8cab4e.tar.gz
astro-42da2e23eb3f677d25b7ed0aab273f219c8cab4e.tar.zst
astro-42da2e23eb3f677d25b7ed0aab273f219c8cab4e.zip
Add the `output` option (#4015)
* Start of work on astroConfig.mode === 'server' * Add tests and more * adapter -> deploy in some places * Add fallback for `adapter` config * Update more tests * Update image tests * Fix clientAddress test * Updates based on PR review * Add a changeset * Update integrations tests + readme * Oops * Remove old option * Rename `mode` to `output` * Update Node adapter test * Update test * fred pass * fred pass * fred pass * fix test Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'packages/integrations/node/test/api-route.test.js')
-rw-r--r--packages/integrations/node/test/api-route.test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/integrations/node/test/api-route.test.js b/packages/integrations/node/test/api-route.test.js
index a28b88e7f..034b53c07 100644
--- a/packages/integrations/node/test/api-route.test.js
+++ b/packages/integrations/node/test/api-route.test.js
@@ -9,9 +9,7 @@ describe('API routes', () => {
before(async () => {
fixture = await loadFixture({
root: './fixtures/api-route/',
- experimental: {
- ssr: true,
- },
+ output: 'server',
adapter: nodejs(),
});
await fixture.build();