update jsdom dependency, fix tests

This commit is contained in:
El RIDO 2025-02-07 08:54:55 +01:00
parent dc983621ac
commit 3b6b97429d
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 100 additions and 159 deletions

View file

@ -19,10 +19,9 @@ describe('Check', function () {
}
);
Legacy.Check.init();
const result1 = Legacy.Check.getInit() && !Legacy.Check.getStatus(),
result2 = (document.getElementById('errormessage').className !== 'hidden');
const result = Legacy.Check.getInit() && !Legacy.Check.getStatus();
clean();
return result1 && result2;
return result;
}
),
{tests: 10});