Skip to content

Commit 1be9120

Browse files
committed
fix test
1 parent 9a0fd46 commit 1be9120

File tree

1 file changed

+1
-1
lines changed
  • packages/amazonq/test/unit/codewhispererChat/controllers/chat/chatRequest

1 file changed

+1
-1
lines changed

packages/amazonq/test/unit/codewhispererChat/controllers/chat/chatRequest/converter.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('triggerPayloadToChatRequest', () => {
174174

175175
it('should preserve priority order', () => {
176176
const before1 = [5000, 30000, 40000, 20000, 15000, 25000] // Total: 135,000
177-
const after1 = [5000, 30000, 40000, 15000, 10000, 0] // Total: 100,000
177+
const after1 = [5000, 30000, 40000, 20000, 5000, 0] // Total: 100,000
178178
checkContextTruncationHelper(before1, after1)
179179

180180
const before2 = [1000, 2000, 3000, 4000, 5000, 90000] // Total: 105,000

0 commit comments

Comments
 (0)