mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-30 11:12:58 +00:00
The prepare()/Statement.run()/iterate() tests called `client.prepare(...)` without awaiting it. Connection.prepare is async (returns Promise<Statement>), so `stmt` was a Promise and `stmt.get/run/iterate` were "not a function". Add the missing await. This was surfaced running the JS suite against a live libsql-server. All 46 JS integration tests pass against the live server. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>