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();