Skip to content

Commit b8d2c3a

Browse files
committed
Move AuthUtil instantiation to beforeEarch
1 parent 95c4840 commit b8d2c3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/test/login/webview/vue/backend_amazonq.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ describe('Amazon Q Login', async function () {
1919
let sandbox: sinon.SinonSandbox
2020
let backend: AmazonQLoginWebview
2121

22-
await createTestAuthUtil()
22+
beforeEach(async function () {
23+
await createTestAuthUtil()
2324

24-
beforeEach(function () {
2525
sandbox = sinon.createSandbox()
2626
backend = new AmazonQLoginWebview()
2727
})

0 commit comments

Comments
 (0)