Skip to content

Commit 99e04cf

Browse files
committed
removed DefaultAmazonQAppInitContext, and passes locally
1 parent 4067988 commit 99e04cf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import vscode from 'vscode'
88
import { qTestingFramework } from './framework/framework'
99
import sinon from 'sinon'
1010
import { Messenger } from './framework/messenger'
11-
import { DefaultAmazonQAppInitContext, FollowUpTypes } from 'aws-core-vscode/amazonq'
11+
import { FollowUpTypes } from 'aws-core-vscode/amazonq'
1212
import { registerAuthHook, using, TestFolder, closeAllEditors } from 'aws-core-vscode/test'
1313
import { loginToIdC } from './utils/setup'
14-
import { sleep, waitUntil, workspaceUtils } from 'aws-core-vscode/shared'
14+
import { waitUntil, workspaceUtils } from 'aws-core-vscode/shared'
1515

1616
describe('Amazon Q Test Generation', function () {
1717
let framework: qTestingFramework
@@ -75,8 +75,6 @@ describe('Amazon Q Test Generation', function () {
7575
})
7676

7777
beforeEach(async () => {
78-
DefaultAmazonQAppInitContext.instance.getAppsToWebViewMessagePublisher().setUiReady()
79-
await sleep(1000)
8078
registerAuthHook('amazonq-test-account')
8179
framework = new qTestingFramework('testgen', true, [])
8280
tab = framework.createTab()

0 commit comments

Comments
 (0)