aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/node/test (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-04-22chore: clean dead code (#13591)Gravatar Florian Lefebvre 1-2/+2
2025-04-14feat: stable sessions (#13527)Gravatar Matt Kane 1-6/+0
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-02-13[ci] formatGravatar Vitalii Rybachenko 1-3/+2
2025-02-12feat: add support for automatic session driver config (#13145)Gravatar Matt Kane 11-0/+363
* feat: add support for automatic session driver config * chore: fix error logic * Lint test * Add node support * Add node test fixture * Lock * Add Netlify support * Use workspace Astro version * Format * Changeset * Add tests * Add dep for tests * chore: fix repo URL * temp log * Fix module resoltuion * [skip ci] Update changeset * chore: bump peer dependencies * Changes from review * Changeset changes from review * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> * More changeset detail * Lock --------- Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-12[ci] formatGravatar Matt Kane 1-1/+3
2025-02-12fix: use shared helper for file extensions (#13223)Gravatar Matt Kane 3-1/+32
* fix: use shared helper for file extensions * Lock
2025-02-07chore: fix linting issues, integration tests (#13187)Gravatar Emanuele Stoppa 16-21/+15
* chore: fix linting issues * chore: update packages and directories * apply suggestions Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-06[ci] formatGravatar Emanuele Stoppa 3-15/+15
2025-02-06chore: fix lintingGravatar Emanuele Stoppa 4-16/+15
2025-02-06[ci] formatGravatar renovate[bot] 4-6/+6
2025-02-06fix: tests and skip few of themGravatar Emanuele Stoppa 2-2/+3
2025-02-05fix: deps and test utilsGravatar Emanuele Stoppa 1-1/+0
2025-01-23chore(node): add tests for preview host (#518)Gravatar Matt Kane 1-0/+63
* Add tests * Format
2025-01-14fix(deps): update all non-major dependencies (#503)Gravatar renovate[bot] 14-14/+14
2025-01-07fix(deps): update all non-major dependencies (#457)Gravatar renovate[bot] 14-28/+28
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-12-04refactor: readability (#463)Gravatar Emanuele Stoppa 1-1/+0
2024-12-03test(node): add image tests (#459)Gravatar Matt Kane 4-14/+37
* chore(node): add image tests * Format * Format
2024-12-03test: use Astro v5 and update cloudflare assertions (#460)Gravatar Emanuele Stoppa 19-20/+34
* test: use Astro v5 and update cloudflare assertions * disable check origin * disable check origin * update test * fix another test * remove logging * format
2024-09-17Merge branch 'main' into nextGravatar Alexander Niebuhr 10-100/+50
2024-09-16Adapter related changes for IntegrationData (#377)Gravatar Alexander Niebuhr 15-17/+15
* chore: port adapter related changes from astro #11864 * chore: bump version * chore: bump * fix: types * fix * fix: tests * fix: locals * Update expected image endpoint --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-09-11feat: remove hybrid (#375)Gravatar Erika 19-95/+27
* 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
2024-09-09chore(deps): update all non-major dependencies (#382)Gravatar renovate[bot] 14-14/+14
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02chore(deps): update all non-major dependencies (#370)Gravatar renovate[bot] 14-14/+14
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-29chore: next to use astro v5Gravatar Alexander Niebuhr 14-14/+14
2024-08-29chore: fix testutilsGravatar Alexander Niebuhr 1-1/+1
2024-08-29chore: supress lintingGravatar Alexander Niebuhr 13-8/+78
2024-08-29chore: formatGravatar Alexander Niebuhr 1-1/+1
2024-08-29chore: fix testutilsGravatar Alexander Niebuhr 1-1/+1
2024-08-29chore: supress lintingGravatar Alexander Niebuhr 13-54/+78
2024-08-29Merge branch 'node' into mainGravatar Alexander Niebuhr 91-0/+2802
2024-08-29Merge branch 'node' into nextGravatar Alexander Niebuhr 91-0/+2802
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-08-14Deprecates exporting prerender with dynamic values (#11657)Gravatar Bjorn Lu 1-0/+62
* wip * done i think * Add changeset * Use hook instead * Reorder hooks [skip ci] * Update .changeset/eleven-pens-glow.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Fix run * Fix link * Add link Co-authored-by: Sarah Rainsberger <sarah11918@users.noreply.github.com> * More accurate migration [skip ci] --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Sarah Rainsberger <sarah11918@users.noreply.github.com>
2024-08-13[ci] formatGravatar Matthew Phillips 1-1/+1
2024-08-13Encrypt server islands props (#11535)Gravatar Matthew Phillips 1-1/+3
* Encrypt server islands props * Comment on the hex algo * Use @oslojs/encoding * Rename functions * Add base to test * Remove old tests no longer valid * Run test locally * Make sure adapters run before manifest * Add a changeset * Adjust test adapter * don't assume adapter is at root * Add a changeset * Updates on review comments * Update oslo * Add better description of Node adapter change
2024-08-08update formatter config (#11640)Gravatar Darius 3-4/+4
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-06-17Refactor prerendering chunk handling (#11245)Gravatar Bjorn Lu 4-42/+97
2024-05-03fix: don't include port twice from x-forwarded-host and x-forwarded-port ↵Gravatar Jakob Hellermann 1-0/+20
headers (#10917) * fix: don't include port twice from x-forwarded-host and x-forwarded-port headers * add changeset * add test for port both in forwarded host and forwarded port * don't include port if undefined * Update .changeset/forty-wolves-turn.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-05test(@astrojs/node) wait for server listening in trailing-slash tests (#10694)Gravatar Raz Luvaton 2-1/+8
* test(@astrojs/node) wait for server listening in trailing-slash tests * fix missing waitServerListen * fix import statement --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-05test(@astrojs/node) listen for server setup errors in test-utils (#10692)Gravatar Raz Luvaton 1-3/+10
2024-04-03[ci] formatGravatar Arsh 1-4/+4
2024-04-03fix(app/node): include `x-forwarded-port` header in url (#10666)Gravatar Arsh 4-19/+38
* fix(app/node): include `x-forwarded-port` header in url * add changeset * add test
2024-04-02[ci] update lockfile (#10551)Gravatar Houston (Bot) 1-2/+0
Co-authored-by: matthewp <matthewp@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-19[ci] formatGravatar Andrés Correa Casablanca 1-3/+3
2024-03-19fix: do not append trailing slash to subresource urls (#10491)Gravatar Andrés Correa Casablanca 2-53/+71
* fix: do not append traling slash to subresource urls Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev> * test: fix broken test Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev> * refactor: packages/integrations/node/src/serve-static.ts Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> --------- Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev> Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-03-18[ci] formatGravatar Arsh 1-9/+9
2024-03-18fix(node): handle offshoot promise rejections (#10454)Gravatar Arsh 2-2/+30
* fix(node): handle offshoot promise rejections * add test * add changeset * Update packages/integrations/node/test/errors.test.js
2024-03-01[ci] formatGravatar Satanshu Mishra 1-14/+14
2024-03-01fix(node): listen on 0.0.0.0 if server.host is set to true (#10282)Gravatar Satanshu Mishra 1-0/+21
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-23[ci] formatGravatar Furkan Erdem 1-1/+1