Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored Nov 28, 2023
1 parent ef0391d commit 3086136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shell-api/src/collection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,7 @@ describe('Collection', function () {
});

context('with name, options and type !== search', function () {
it('calls serviceProvider.createIndexes', async function () {
it('calls serviceProvider.createSearchIndexes', async function () {
await collection.createSearchIndex('my-index', 'vectorSearch', {
mappings: { dynamic: true },
});
Expand All @@ -2606,7 +2606,7 @@ describe('Collection', function () {
});

context('with name, options and type === search', function () {
it('calls serviceProvider.createIndexes', async function () {
it('calls serviceProvider.createSearchIndexes', async function () {
await collection.createSearchIndex('my-index', 'search', {
mappings: { dynamic: true },
});
Expand All @@ -2620,7 +2620,7 @@ describe('Collection', function () {
});

context('with options and type but no name', function () {
it('calls serviceProvider.createIndexes', async function () {
it('calls serviceProvider.createSearchIndexes', async function () {
await collection.createSearchIndex(
{ mappings: { dynamic: true } },
'vectorSearch'
Expand Down

0 comments on commit 3086136

Please sign in to comment.