Skip to content

Commit bd86698

Browse files
committed
Lint fix
1 parent fea44c8 commit bd86698

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ import { SsoAccessTokenProvider, constants } from 'aws-core-vscode/auth'
1313

1414
describe('showConnectionPrompt', function () {
1515
let isBuilderIdConnection: sinon.SinonStub
16-
let useDeviceFlowStub: sinon.SinonStub
1716

1817
beforeEach(async function () {
1918
await resetCodeWhispererGlobalVariables()
2019
isBuilderIdConnection = sinon.stub(AuthUtil.instance, 'isBuilderIdConnection')
2120
isBuilderIdConnection.resolves()
2221

2322
// Stub useDeviceFlow so we always use DeviceFlow for auth
24-
useDeviceFlowStub = sinon.stub(SsoAccessTokenProvider, 'useDeviceFlow').returns(true)
23+
sinon.stub(SsoAccessTokenProvider, 'useDeviceFlow').returns(true)
2524
})
2625

2726
afterEach(function () {

0 commit comments

Comments
 (0)