Skip to content

Commit 0e25713

Browse files
michaelklishinmergify[bot]
authored andcommitted
Mocha does not support async functions in describe blocks
It is quietly ignored but considered to be a poor practice. (cherry picked from commit 9e85a18)
1 parent 7bd378e commit 0e25713

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

selenium/test/oauth/with-basic-auth/happy-login.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('An user with administrator tag', function () {
4040
await overview.logout()
4141
})
4242

43-
describe("and logged in via OAuth 2.0", async function() {
43+
describe("and logged in via OAuth 2.0", function() {
4444
before(async function() {
4545
await homePage.clickToLogin()
4646
await idpLogin.login('rabbit_admin', 'rabbit_admin')
@@ -60,7 +60,7 @@ describe('An user with administrator tag', function () {
6060
})
6161
})
6262

63-
describe("and logged in via basic auth", async function() {
63+
describe("and logged in via basic auth", function() {
6464
before(async function() {
6565
await homePage.toggleBasicAuthSection()
6666
await homePage.basicAuthLogin('guest', 'guest')

0 commit comments

Comments
 (0)