Procházet zdrojové kódy

style: remove manual cleanup

rugk před 4 měsíci
rodič
revize
3820fdf765
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      js/test/TopNav.js

+ 0 - 2
js/test/TopNav.js

@@ -303,7 +303,6 @@ describe('TopNav', function () {
         it(
         it(
             'collapses the navigation when displayed on a small screen',
             'collapses the navigation when displayed on a small screen',
             function () {
             function () {
-                const clean = globalThis.cleanup();
                 let results = [];
                 let results = [];
                 $('body').html(
                 $('body').html(
                     '<nav><div class="navbar-header"><button type="button" ' +
                     '<nav><div class="navbar-header"><button type="button" ' +
@@ -340,7 +339,6 @@ describe('TopNav', function () {
                     $('#navbar').attr('aria-expanded') == 'false'
                     $('#navbar').attr('aria-expanded') == 'false'
                 );
                 );
                 */
                 */
-                clean();
                 const result = results.every(element => element);
                 const result = results.every(element => element);
                 if (!result) {
                 if (!result) {
                     console.log(results);
                     console.log(results);