@@ -38,9 +38,9 @@ describe("bgeReranker", () => {
3838 const highestRankIndex = ranks . indexOf ( highestRank ) ;
3939
4040 const highestRankDocument = documents [ highestRankIndex ] ;
41- expect ( highestRankDocument ) . to . eql ( "Mount Everest is the tallest mountain in the world" , ) ;
41+ expect ( highestRankDocument ) . to . eql ( "Mount Everest is the tallest mountain in the world" ) ;
4242
43- expect ( simplifyRanks ( [ highestRank ] ) [ 0 ] ) . toMatchInlineSnapshot ( `-4` ) ;
43+ expect ( simplifyRanks ( [ highestRank ] ) [ 0 ] ) . toMatchInlineSnapshot ( "-4" ) ;
4444 expect ( simplifyRanks ( ranks ) ) . toMatchInlineSnapshot ( `
4545 [
4646 -11,
@@ -89,9 +89,9 @@ describe("bgeReranker", () => {
8989 const highestRankIndex = ranks . indexOf ( highestRank ) ;
9090
9191 const highestRankDocument = documents [ highestRankIndex ] ;
92- expect ( highestRankDocument ) . to . eql ( "Mount Everest is the tallest mountain in the world" , ) ;
92+ expect ( highestRankDocument ) . to . eql ( "Mount Everest is the tallest mountain in the world" ) ;
9393
94- expect ( simplifyRanks ( [ highestRank ] ) [ 0 ] ) . toMatchInlineSnapshot ( `-4` ) ;
94+ expect ( simplifyRanks ( [ highestRank ] ) [ 0 ] ) . toMatchInlineSnapshot ( "-4" ) ;
9595 expect ( simplifyRanks ( ranks ) ) . toMatchInlineSnapshot ( `
9696 [
9797 -11,
@@ -137,7 +137,7 @@ describe("bgeReranker", () => {
137137
138138 const topDocument = rankedDocuments [ 0 ] ! ;
139139
140- expect ( topDocument . document ) . to . eql ( "Mount Everest is the tallest mountain in the world" , ) ;
140+ expect ( topDocument . document ) . to . eql ( "Mount Everest is the tallest mountain in the world" ) ;
141141
142142 expect ( simplifySortedRanks ( [ topDocument ] ) [ 0 ] ) . toMatchInlineSnapshot ( `
143143 {
0 commit comments