Skip to content

Commit b0e0fb3

Browse files
Fix await using
1 parent c3900f8 commit b0e0fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modules/chromadb/src/chromadb-container.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe("ChromaDB", { timeout: 360_000 }, () => {
3636
// queryCollectionWithEmbeddingFunction {
3737
await using container = await new ChromaDBContainer(IMAGE).start();
3838

39-
const ollama = await new GenericContainer("ollama/ollama").withExposedPorts(11434).start();
39+
await using ollama = await new GenericContainer("ollama/ollama").withExposedPorts(11434).start();
4040
await ollama.exec(["ollama", "pull", "nomic-embed-text"]);
4141
const client = new ChromaClient({ path: container.getHttpUrl() });
4242
const embedder = new OllamaEmbeddingFunction({

0 commit comments

Comments
 (0)