Skip to content

test: await ky create request - #117

Open
snkk2x-collab wants to merge 1 commit into
tscircuit:mainfrom
snkk2x-collab:codex/await-ky-create-test-2
Open

test: await ky create request#117
snkk2x-collab wants to merge 1 commit into
tscircuit:mainfrom
snkk2x-collab:codex/await-ky-create-test-2

Conversation

@snkk2x-collab

Copy link
Copy Markdown

Summary

  • Await the ky-backed things/create POST in the create route regression test.
  • Assert the { ok: true } JSON response before listing things.
  • Verify the persisted thing fields so the create/list sequence is deterministic.

Validation

  • bun test tests/routes/things/create.test.ts
  • bun test tests/routes/health.test.ts
  • bun run format:check
  • git diff --check

Closes #2
/claim #2

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.

Switch to ky from redaxios

1 participant