mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-25 22:46:44 -04:00
style: remove manual cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user