Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions test/collections/journey.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
import weaviate, { CollectionConfig, WeaviateClient } from '../../src/index.js';
import weaviate, { CollectionConfig, VectorIndexConfigHNSW, WeaviateClient } from '../../src/index.js';
import { GeoCoordinate } from '../../src/proto/v1/properties.js';

describe('Journey testing of the client using a WCD cluster', () => {
Expand Down Expand Up @@ -56,6 +56,9 @@ describe('Journey testing of the client using a WCD cluster', () => {
.get(collectionName)
.config.get()
.then(async (config) => {
// Defaults on the shared WCD cluster change over time; keep assertions here tolerant.
const { quantizer } = config.vectorizers.default.indexConfig as VectorIndexConfigHNSW;
expect(['rq', undefined]).toContain(quantizer?.type);
Comment thread
bevzzz marked this conversation as resolved.
expect(config).toEqual<CollectionConfig>({
name: collectionName,
description: undefined,
Expand Down Expand Up @@ -202,7 +205,7 @@ describe('Journey testing of the client using a WCD cluster', () => {
multiVector: undefined,
skip: false,
vectorCacheMaxObjects: 1000000000000,
quantizer: undefined,
quantizer,
type: 'hnsw',
},
indexType: 'hnsw',
Expand Down
Loading