style: remove manual cleanup

This commit is contained in:
rugk
2026-03-18 13:58:49 +00:00
parent 0f3831b423
commit 3820fdf765
-2
View File
@@ -303,7 +303,6 @@ describe('TopNav', function () {
it(
'collapses the navigation when displayed on a small screen',
function () {
const clean = globalThis.cleanup();
let results = [];
$('body').html(
'<nav><div class="navbar-header"><button type="button" ' +
@@ -340,7 +339,6 @@ describe('TopNav', function () {
$('#navbar').attr('aria-expanded') == 'false'
);
*/
clean();
const result = results.every(element => element);
if (!result) {
console.log(results);