You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Quarterly Sales Report Q1 2023\nExecutive Summary\nThe first quarter saw a 17% increase in sales across all sectors. The enterprise software division exceeded its targets with a significant contribution to the overall growth...',
'Market Analysis: Q1 Consumer Trends\nAbstract\nThis paper provides an in-depth analysis of consumer trends in the first quarter of 2023, highlighting the shifts in customer behavior...',
31
+
type: 'Document',
32
+
},
33
+
];
34
+
12
35
describe('Hypercode Search API methods',()=>{
13
36
afterEach(()=>fetchMock.resetMocks());
14
37
15
38
describe('execute method',()=>{
16
-
it('should return the correct search results for a query with contextId',async()=>{
'Quarterly Sales Report Q1 2023\nExecutive Summary\nThe first quarter saw a 17% increase in sales across all sectors. The enterprise software division exceeded its targets with a significant contribution to the overall growth...',
'Market Analysis: Q1 Consumer Trends\nAbstract\nThis paper provides an in-depth analysis of consumer trends in the first quarter of 2023, highlighting the shifts in customer behavior...',
36
-
type: 'Document',
37
-
},
38
-
];
39
+
it('should return the correct search results for a query',async()=>{
0 commit comments