chore: Test remote functions with full-async setup (#15033)
authorElliott Johnson <elliott.johnson@vercel.com>
Sat, 13 Dec 2025 00:09:39 +0000 (17:09 -0700)
committerGitHub <noreply@github.com>
Sat, 13 Dec 2025 00:09:39 +0000 (17:09 -0700)
commitacf2d9dd5d80c23ae41666f7640a4908657cf5a9
tree034f91b43afb514f33e6c23f99ce935a3c596c91
parent2140546af29c1fae747e1c4f54c09ef0fed139ad
chore: Test remote functions with full-async setup (#15033)

* checkpoint

* donesies

* fix: lockfile

* update svelte-check

* add .env for test app

* fix flaky test

* polyfill withResolvers
87 files changed:
packages/kit/test/apps/async/.env [new file with mode: 0644]
packages/kit/test/apps/async/.gitignore [new file with mode: 0644]
packages/kit/test/apps/async/README.md [new file with mode: 0644]
packages/kit/test/apps/async/package.json [new file with mode: 0644]
packages/kit/test/apps/async/playwright.config.js [new file with mode: 0644]
packages/kit/test/apps/async/src/app.html [new file with mode: 0644]
packages/kit/test/apps/async/src/hooks.js [new file with mode: 0644]
packages/kit/test/apps/async/src/hooks.server.js [new file with mode: 0644]
packages/kit/test/apps/async/src/lib/assets/favicon.svg [new file with mode: 0644]
packages/kit/test/apps/async/src/lib/index.js [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/+error.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/+layout.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/+page.js [moved from packages/kit/test/apps/basics/src/routes/remote/+page.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/+page.svelte with 89% similarity]
packages/kit/test/apps/async/src/routes/remote/accessing-env.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/accessing-env.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/batch/+page.js [moved from packages/kit/test/apps/basics/src/routes/remote/batch/+page.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/batch/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/batch/+page.svelte with 73% similarity]
packages/kit/test/apps/async/src/routes/remote/batch/batch.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/batch/batch.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/dev/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/dev/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/dev/preload/+page.server.js [moved from packages/kit/test/apps/basics/src/routes/remote/dev/preload/+page.server.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/dev/preload/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/dev/preload/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/dev/preload/example.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/dev/preload/example.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/dev/preload/schema.js [moved from packages/kit/test/apps/basics/src/routes/remote/dev/preload/schema.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/event/+page.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/event/data.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/event/data.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/[test_name]/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/[test_name]/+page.svelte with 95% similarity]
packages/kit/test/apps/async/src/routes/remote/form/[test_name]/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/[test_name]/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/file-upload/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/file-upload/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/file-upload/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/file-upload/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/imperative/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/imperative/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/preflight-only/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/preflight-only/+page.svelte with 82% similarity]
packages/kit/test/apps/async/src/routes/remote/form/preflight-only/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/preflight-only/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/preflight/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/preflight/+page.svelte with 91% similarity]
packages/kit/test/apps/async/src/routes/remote/form/preflight/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/preflight/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/select-untouched/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/select-untouched/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/select-untouched/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/select-untouched/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/submitter/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/submitter/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/submitter/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/submitter/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/underscore/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/underscore/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/underscore/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/underscore/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/validate/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/validate/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/validate/form.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/validate/form.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/value/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/form/value/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/form/value/value.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/form/value/value.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/functions-only/+page.js [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/functions-only/+page.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/functions-only/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/functions-only/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/prerender.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/prerender.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/test.txt [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/test.txt with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/whole-page/+page.js [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/whole-page/+page.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/prerender/whole-page/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/prerender/whole-page/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-command.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/query-command.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-non-exported/+page.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/query-non-exported/data.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/query-non-exported/data.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-redirect/+page.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/query-redirect/from-common-layout/+layout.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/query-redirect/from-common-layout/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/query-redirect/from-common-layout/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-redirect/from-common-layout/redirected/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/query-redirect/from-common-layout/redirected/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-redirect/from-page/+page.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/query-redirect/redirect.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/query-redirect/redirect.remote.js with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/query-redirect/redirected/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/query-redirect/redirected/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/server-endpoint/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/server-endpoint/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/server-endpoint/api/+server.ts [moved from packages/kit/test/apps/basics/src/routes/remote/server-endpoint/api/+server.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/server-endpoint/internal.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/server-endpoint/internal.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/transport/+page.svelte [new file with mode: 0644]
packages/kit/test/apps/async/src/routes/remote/transport/data.remote.ts [moved from packages/kit/test/apps/basics/src/routes/remote/transport/data.remote.ts with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/validation/+page.svelte [moved from packages/kit/test/apps/basics/src/routes/remote/validation/+page.svelte with 100% similarity]
packages/kit/test/apps/async/src/routes/remote/validation/validation.remote.js [moved from packages/kit/test/apps/basics/src/routes/remote/validation/validation.remote.js with 100% similarity]
packages/kit/test/apps/async/static/robots.txt [new file with mode: 0644]
packages/kit/test/apps/async/svelte.config.js [new file with mode: 0644]
packages/kit/test/apps/async/test/client.test.js [new file with mode: 0644]
packages/kit/test/apps/async/test/server.test.js [new file with mode: 0644]
packages/kit/test/apps/async/test/test.js [new file with mode: 0644]
packages/kit/test/apps/async/tsconfig.json [new file with mode: 0644]
packages/kit/test/apps/async/vite.config.js [new file with mode: 0644]
packages/kit/test/apps/basics/src/hooks.server.js
packages/kit/test/apps/basics/src/routes/remote/event/+page.svelte [deleted file]
packages/kit/test/apps/basics/src/routes/remote/query-non-exported/+page.svelte [deleted file]
packages/kit/test/apps/basics/src/routes/remote/query-redirect/+page.svelte [deleted file]
packages/kit/test/apps/basics/src/routes/remote/query-redirect/from-common-layout/+layout.svelte [deleted file]
packages/kit/test/apps/basics/src/routes/remote/query-redirect/from-page/+page.svelte [deleted file]
packages/kit/test/apps/basics/src/routes/remote/transport/+page.svelte [deleted file]
packages/kit/test/apps/basics/test/client.test.js
packages/kit/test/apps/basics/test/server.test.js
packages/kit/test/apps/basics/test/test.js
pnpm-lock.yaml
pnpm-workspace.yaml