From cf28dae77513b06ccf145123276bdbd46fffdb3f Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 24 May 2023 14:08:36 +0200 Subject: [PATCH] chore: convert async describe to sync (#10238) --- test/src/ariaqueryhandler.spec.ts | 2 +- test/src/network.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/ariaqueryhandler.spec.ts b/test/src/ariaqueryhandler.spec.ts index 52fe99997b1..e09aeeef781 100644 --- a/test/src/ariaqueryhandler.spec.ts +++ b/test/src/ariaqueryhandler.spec.ts @@ -591,7 +591,7 @@ describe('AriaQueryHandler', () => { }); }); - describe('queryOne (Chromium web test)', async () => { + describe('queryOne (Chromium web test)', () => { beforeEach(async () => { const {page} = getTestState(); await page.setContent( diff --git a/test/src/network.spec.ts b/test/src/network.spec.ts index 8b67d21b29e..65403c9b653 100644 --- a/test/src/network.spec.ts +++ b/test/src/network.spec.ts @@ -795,7 +795,7 @@ describe('network', function () { }); }); - describe('raw network headers', async () => { + describe('raw network headers', () => { it('Same-origin set-cookie navigation', async () => { const {page, server} = getTestState(); @@ -861,7 +861,7 @@ describe('network', function () { }); }); - describe('Page.setBypassServiceWorker', async () => { + describe('Page.setBypassServiceWorker', () => { it('bypass for network', async () => { const {page, server} = getTestState();