Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hasani committed Dec 8, 2024
1 parent ff72ea1 commit 599e8c1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/amazonq/test/e2e/amazonq/transformByQ.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ describe('Amazon Q Code Transformation', function () {
describe('Starting a transformation from chat', () => {
it('Can click through all user input forms', async () => {
tab.addChatMessage({ command: '/transform' })
sinon
.stub(GumbyController.prototype, 'validateLanguageUpgradeProjects' as keyof GumbyController)
.resolves([
{
name: 'qct-sample-java-8-app-main',
path: '/Users/alias/Desktop/qct-sample-java-8-app-main',
JDKVersion: JDKVersion.JDK8,
},
])
sinon.stub(GumbyController.prototype, 'validateLanguageUpgradeProjects' as keyof GumbyController).resolves([
{
name: 'qct-sample-java-8-app-main',
path: '/Users/alias/Desktop/qct-sample-java-8-app-main',
JDKVersion: JDKVersion.JDK8,
},
])

// wait for /transform to respond with some intro messages and the first user input form
await tab.waitForEvent(() => tab.getChatItems().length > 3, {
Expand Down

0 comments on commit 599e8c1

Please sign in to comment.