chore(release): bump Python SDK to 2.2.1 and TypeScript SDK to 3.3.1 (#7456)

This commit is contained in:
Kartik
2026-09-25 23:04:12 +05:30
committed by GitHub
parent 947ac79818
commit 94c3fe9f23
5 changed files with 45 additions and 32 deletions
@@ -2,24 +2,20 @@
/**
* Turbopuffer vector store — score conversion unit tests.
*
* Drives parseRows() through the public search() API with a virtually-mocked
* Drives parseRows() through the public search() API with a mocked
* @turbopuffer/turbopuffer peer, asserting the score returned per metric.
*/
const mockQuery = jest.fn();
jest.mock(
"@turbopuffer/turbopuffer",
() => ({
__esModule: true,
default: class {
namespace() {
return { query: mockQuery };
}
},
}),
{ virtual: true },
);
jest.mock("@turbopuffer/turbopuffer", () => ({
__esModule: true,
default: class {
namespace() {
return { query: mockQuery };
}
},
}));
import { TurbopufferDB } from "../src/vector_stores/turbopuffer";