From 4c54a688fbd90daac561a799ea68922af346cf70 Mon Sep 17 00:00:00 2001 From: Mateusz Baginski Date: Mon, 13 Jan 2025 15:32:34 +0100 Subject: [PATCH] Remove async checks. --- packages/ckeditor5-utils/tests/collectstylesheets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ckeditor5-utils/tests/collectstylesheets.js b/packages/ckeditor5-utils/tests/collectstylesheets.js index 372a5f95095..9ba72d34f84 100644 --- a/packages/ckeditor5-utils/tests/collectstylesheets.js +++ b/packages/ckeditor5-utils/tests/collectstylesheets.js @@ -10,7 +10,7 @@ import collectStylesheets from '../src/collectstylesheets.js'; describe( 'collectStylesheets', () => { let dataCkeStylesheet, stylesheet; - beforeEach( async () => { + beforeEach( () => { dataCkeStylesheet = document.createElement( 'style' ); dataCkeStylesheet.setAttribute( 'data-cke', true ); dataCkeStylesheet.id = 'data-cke-stylesheet'; @@ -36,7 +36,7 @@ describe( 'collectStylesheets', () => { } ); } ); - afterEach( async () => { + afterEach( () => { sinon.restore(); dataCkeStylesheet.remove();