Files
turso/serverless/javascript/integration-tests
Glauber Costa 4a0467d9dc serverless/javascript: await async prepare() in integration tests
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>
2026-07-17 18:22:50 -05:00
..