Skip to content

Commit bee65f8

Browse files
committed
update view diff test to account for plan summary
1 parent 131005d commit bee65f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/amazonq/test/e2e/amazonq/testGen.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,9 @@ describe('Amazon Q Test Generation', function () {
194194
const viewDiffMessage = chatItems[5]
195195

196196
assert.deepStrictEqual(viewDiffMessage.type, 'answer')
197-
assert.deepStrictEqual(
198-
viewDiffMessage.body,
197+
const expectedEnding =
199198
'Please see the unit tests generated below. Click “View diff” to review the changes in the code editor.'
200-
)
199+
assert.strictEqual(viewDiffMessage.body?.includes(expectedEnding), true)
201200
})
202201
})
203202

0 commit comments

Comments
 (0)