Skip to content

test: await ky create route response#113

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

test: await ky create route response#113
Eric89544 wants to merge 1 commit into
tscircuit:mainfrom
Eric89544:codex/ky-create-test-2

Conversation

@Eric89544

Copy link
Copy Markdown

Issue

Closes #2
/claim #2

Summary

Tightens the ky create-route regression test by awaiting the POST response, asserting the { ok: true } JSON body, and only then listing records. This keeps the ky migration coverage deterministic and avoids a create/list race.

Verification

  • bun test
  • PATH=/Users/eric/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH bun run build
  • PATH=/Users/eric/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH bun run format:check
  • PATH=/Users/eric/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH node node_modules/typescript/bin/tsc --noEmit

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