Skip to content

Commit ef950c4

Browse files
authored
Merge pull request #248 from weaviate/chore/delete-wcd-journey-test-collection-afterall
Ensure collection is deleted from WCD
2 parents 86fc87a + 3748dfe commit ef950c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/collections/journey.test.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ describe('Journey testing of the client using a WCD cluster', () => {
1212
dateOfBirth: Date;
1313
};
1414

15+
afterAll(() => client.collections.delete(collectionName));
16+
1517
beforeAll(async () => {
1618
client = await weaviate.connectToWeaviateCloud(
1719
'https://piblpmmdsiknacjnm1ltla.c1.europe-west3.gcp.weaviate.cloud',
1820
{
1921
authCredentials: 'NOg5AliYnrN6z7dZDuGv7SLVKhTabAaSTKS7',
2022
}
2123
);
22-
return client.collections.delete(collectionName);
2324
});
2425

2526
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', () => {
167168
vectorizer: {
168169
name: 'text2vec-cohere',
169170
config: {
171+
baseUrl: 'https://api.cohere.ai',
172+
model: 'embed-multilingual-v3.0',
173+
truncate: 'END',
170174
vectorizeCollectionName: true,
171175
},
172176
},

0 commit comments

Comments
 (0)