@@ -2382,7 +2382,7 @@ describe('Query class', () => {
2382
2382
} ) ;
2383
2383
2384
2384
describe ( 'requesting computed distance' , ( ) => {
2385
- it ( 'supports COSINE distance' , async ( ) => {
2385
+ it ( 'supports requesting computed COSINE distance' , async ( ) => {
2386
2386
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2387
2387
2388
2388
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2419,7 +2419,7 @@ describe('Query class', () => {
2419
2419
expect ( res . docs [ 3 ] . get ( 'distance' ) ) . to . equal ( 2 ) ;
2420
2420
} ) ;
2421
2421
2422
- it ( 'supports EUCLIDEAN distance' , async ( ) => {
2422
+ it ( 'supports requesting computed EUCLIDEAN distance' , async ( ) => {
2423
2423
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2424
2424
2425
2425
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2463,7 +2463,7 @@ describe('Query class', () => {
2463
2463
expect ( res . docs [ 3 ] . get ( 'distance' ) ) . to . equal ( 100 ) ;
2464
2464
} ) ;
2465
2465
2466
- it ( 'supports DOT_PRODUCT distance' , async ( ) => {
2466
+ it ( 'supports requesting computed DOT_PRODUCT distance' , async ( ) => {
2467
2467
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2468
2468
2469
2469
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2538,7 +2538,7 @@ describe('Query class', () => {
2538
2538
expect ( res . docs [ 0 ] . get ( 'distance' ) ) . to . equal ( 1 ) ;
2539
2539
} ) ;
2540
2540
2541
- it ( 'supports select queries' , async ( ) => {
2541
+ it ( 'supports requesting computed distance in select queries' , async ( ) => {
2542
2542
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2543
2543
2544
2544
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2579,7 +2579,7 @@ describe('Query class', () => {
2579
2579
} ) ;
2580
2580
2581
2581
describe ( 'querying with distance threshold' , ( ) => {
2582
- it ( 'supports COSINE distance' , async ( ) => {
2582
+ it ( 'supports querying with distance threshold using COSINE distance' , async ( ) => {
2583
2583
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2584
2584
2585
2585
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2613,7 +2613,7 @@ describe('Query class', () => {
2613
2613
) . to . be . true ;
2614
2614
} ) ;
2615
2615
2616
- it ( 'supports EUCLIDEAN distance' , async ( ) => {
2616
+ it ( 'supports querying with distance threshold using EUCLIDEAN distance' , async ( ) => {
2617
2617
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2618
2618
2619
2619
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2647,7 +2647,7 @@ describe('Query class', () => {
2647
2647
. to . be . true ;
2648
2648
} ) ;
2649
2649
2650
- it ( 'supports DOT_PRODUCT distance' , async ( ) => {
2650
+ it ( 'supports querying with distance threshold using DOT_PRODUCT distance' , async ( ) => {
2651
2651
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2652
2652
2653
2653
const collectionReference = await indexTestHelper . setTestDocs ( {
@@ -2680,7 +2680,7 @@ describe('Query class', () => {
2680
2680
) . to . be . true ;
2681
2681
} ) ;
2682
2682
2683
- it ( 'works with distance threshold ' , async ( ) => {
2683
+ it ( 'works with distance result field ' , async ( ) => {
2684
2684
const indexTestHelper = new IndexTestHelper ( firestore ) ;
2685
2685
2686
2686
const collectionReference = await indexTestHelper . setTestDocs ( {
0 commit comments