Skip to content

test: await ky create request#111

Open
yanziwei wants to merge 1 commit into
tscircuit:mainfrom
yanziwei:yanziwei/await-ky-create-test
Open

test: await ky create request#111
yanziwei wants to merge 1 commit into
tscircuit:mainfrom
yanziwei:yanziwei/await-ky-create-test

Conversation

@yanziwei

@yanziwei yanziwei commented Jun 8, 2026

Copy link
Copy Markdown

Summary

/claim #2

  • Awaits the ky POST /things/create request before listing created records.
  • Parses and asserts the { ok: true } JSON response from the migrated ky-backed route.
  • Removes the create/list race from the existing route test.

Validation

  • npx biome check tests/routes/things/create.test.ts
  • npm run typecheck
  • npm run build
  • git diff --check

Note: this environment does not have bun, so I installed dependencies with npm install --no-package-lock for local validation without changing the lockfile. GitHub Actions should run the Bun test suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant