diff --git a/src/collections/journey.test.ts b/src/collections/journey.test.ts index 2faad7b3..85da3a8f 100644 --- a/src/collections/journey.test.ts +++ b/src/collections/journey.test.ts @@ -12,6 +12,8 @@ describe('Journey testing of the client using a WCD cluster', () => { dateOfBirth: Date; }; + afterAll(() => client.collections.delete(collectionName)); + beforeAll(async () => { client = await weaviate.connectToWeaviateCloud( 'https://piblpmmdsiknacjnm1ltla.c1.europe-west3.gcp.weaviate.cloud', @@ -19,7 +21,6 @@ describe('Journey testing of the client using a WCD cluster', () => { authCredentials: 'NOg5AliYnrN6z7dZDuGv7SLVKhTabAaSTKS7', } ); - return client.collections.delete(collectionName); }); it('should create the correct config for a collection with vectorizer, generative, and reranker modules', () => { @@ -167,6 +168,9 @@ describe('Journey testing of the client using a WCD cluster', () => { vectorizer: { name: 'text2vec-cohere', config: { + baseUrl: 'https://api.cohere.ai', + model: 'embed-multilingual-v3.0', + truncate: 'END', vectorizeCollectionName: true, }, },