Skip to content

Commit 0a5c43f

Browse files
committed
chore: use dot-notation to access a named vector
1 parent cb21877 commit 0a5c43f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collections/config/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ describe('Testing of the collection.config namespace', () => {
420420
expect(config.vectorizers).toHaveProperty('vector-b');
421421
expect(config.vectorizers).toHaveProperty('vector-c');
422422

423-
expect(config.vectorizers['default']).toHaveProperty('indexType', 'hnsw');
423+
expect(config.vectorizers.default).toHaveProperty('indexType', 'hnsw');
424424
});
425425
});
426426

0 commit comments

Comments
 (0)