File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ test("BM25Retriever", async () => {
2828} ) ;
2929
3030test ( "getTermFrequency escapes regex metacharacters" , ( ) => {
31- const corpus = "**Version 1:** What is the country of origin for the person in question?" ;
31+ const corpus =
32+ "**Version 1:** What is the country of origin for the person in question?" ;
3233 const term = "**Version 1:**" ;
3334
3435 // Should not throw and should find at least one match
@@ -41,4 +42,4 @@ test("getTermFrequency escapes regex metacharacters", () => {
4142 expect ( getTermFrequency ( "[yes]" , corpus2 ) ) . toBeGreaterThanOrEqual ( 1 ) ;
4243 expect ( getTermFrequency ( "*stars*" , corpus2 ) ) . toBeGreaterThanOrEqual ( 1 ) ;
4344 expect ( getTermFrequency ( "+plus+" , corpus2 ) ) . toBeGreaterThanOrEqual ( 1 ) ;
44- } ) ;
45+ } ) ;
You can’t perform that action at this time.
0 commit comments