Skip to content

Commit 7b03031

Browse files
committed
try
1 parent efe5292 commit 7b03031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amazonq/test/unit/codewhisperer/util/crossFileContextUtil.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ describe('crossFileContextUtil', function () {
323323

324324
fileExtLists.forEach((fileExt) => {
325325
it('should be non empty', async function () {
326-
sinon.stub(FeatureConfigProvider.instance, 'getProjectContextGroup').alwaysReturned('control')
326+
sinon.stub(FeatureConfigProvider.instance, 'getProjectContextGroup').returns('control')
327327
const editor = await toTextEditor('content-1', `file-1.${fileExt}`, tempFolder)
328328
await toTextEditor('content-2', `file-2.${fileExt}`, tempFolder, { preview: false })
329329
await toTextEditor('content-3', `file-3.${fileExt}`, tempFolder, { preview: false })

0 commit comments

Comments
 (0)