summaryrefslogtreecommitdiff
path: root/packages/integrations/node/test/api-route.test.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-17Merge branch 'main' into nextGravatar Alexander Niebuhr 1-20/+10
2024-08-29chore: supress lintingGravatar Alexander Niebuhr 1-0/+10
2024-08-29chore: supress lintingGravatar Alexander Niebuhr 1-10/+10
2024-08-16Refactor/types (#11715)Gravatar Erika 1-1/+1
* refactor: types * feat: refactor types * chore: organize imports * fix: remaining references * docs: types * refactor: small changes * chore: changeset
2024-02-21chore: use biome to sort imports - only test files (#10180)Gravatar Emanuele Stoppa 1-4/+4
* chore: use biome to sort imports * do the sorting * Update package.json Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-02-01fix(NodeApp): fix responses with null bodies never completing (#9931)Gravatar Arsh 1-1/+42
* fix(NodeApp): fix responses with null bodies never completing * add changeset * add test * chore(tests): restore correct assertions * adjust incorrect test * added Astro.redirect and Response.redirect test cases * updated incorrect HTTP status * adjust api-routes.test.js after cherry-pick * bup markdoc test timeout --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Friedemann Sommer <friedemannsommer@users.noreply.github.com>
2024-01-25chore(@astrojs/node): use Node.js for testing (#9758)Gravatar Emanuele Stoppa 1-6/+7
* chore(@astrojs/node): use Node.js for testing * revert file * address feedback * feedback * Run tests in a single process (#9823) * Run tests in a single process * Make test less flaky * chore: remove module --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-15[ci] formatGravatar pilcrowOnPaper 1-1/+1
2023-11-16Cancel response stream when connection closes (#9071)Gravatar pilcrowOnPaper 1-0/+19
* cancel stream on close * add changeset * add test * Update .changeset/modern-ways-develop.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-15Stream request body instead of buffering it in memory (#8084)Gravatar hbgl 1-3/+42
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-01-10[ci] formatGravatar bluwy 1-2/+2
2023-01-11can jump 404 when that page does not exist (#5701)Gravatar wulinsheng123 1-3/+6
2022-10-12Node.js standalone mode + support for astro preview (#5056)Gravatar Matthew Phillips 1-1/+1
* wip * Deprecate buildConfig and move to config.build * Implement the standalone server * Stay backwards compat * Add changesets * correctly merge URLs * Get config earlier * update node tests * Return the preview server * update remaining tests * swap usage and config ordering * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/metal-pumas-walk.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/metal-pumas-walk.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/stupid-points-refuse.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/stupid-points-refuse.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Link to build.server config Co-authored-by: Fred K. Schott <fkschott@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-07-26Fixes binary data request bodies in the Node adapter (#4055)Gravatar Matthew Phillips 1-0/+16
* Fixes binary data request bodies in the Node adapter * Fix type
2022-07-25Add the `output` option (#4015)Gravatar Matthew Phillips 1-3/+1
* 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>
2022-07-22[ci] formatGravatar matthewp 1-3/+2
2022-07-22Fixes Node adapter receiving a request body (#4023)Gravatar Matthew Phillips 1-0/+37
* Fixes Node adapter receiving a request body * Updated lockfile