Skip to content

Commit 991afb1

Browse files
committed
error message phrase
1 parent bee65f8 commit 991afb1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,11 @@ describe('Amazon Q Test Generation', function () {
196196
assert.deepStrictEqual(viewDiffMessage.type, 'answer')
197197
const expectedEnding =
198198
'Please see the unit tests generated below. Click “View diff” to review the changes in the code editor.'
199-
assert.strictEqual(viewDiffMessage.body?.includes(expectedEnding), true)
199+
assert.strictEqual(
200+
viewDiffMessage.body?.includes(expectedEnding),
201+
true,
202+
`View diff message does not contain phrase: ${expectedEnding}`
203+
)
200204
})
201205
})
202206

0 commit comments

Comments
 (0)