We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24382d6 commit b7cbccaCopy full SHA for b7cbcca
src/database/server/models/__tests__/chunk.test.ts
@@ -495,13 +495,13 @@ content in Table html is below:
495
});
496
497
// 测试结果限制
498
- it('should limit results to 5 items', async () => {
+ it('should limit results to 15 items', async () => {
499
const fileId = '1';
500
- // Create 6 chunks
+ // Create 24 chunks
501
const chunkResult = await serverDB
502
.insert(chunks)
503
.values(
504
- Array(6)
+ Array(24)
505
.fill(0)
506
.map((_, i) => ({ text: `Test Chunk ${i}`, userId })),
507
)
@@ -528,7 +528,7 @@ content in Table html is below:
528
query: 'test',
529
530
531
- expect(result).toHaveLength(5);
+ expect(result).toHaveLength(15);
532
533
534
0 commit comments