mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 06:28:46 -04:00
update jsdom dependency, fix tests
This commit is contained in:
parent
dc983621ac
commit
3b6b97429d
4 changed files with 100 additions and 159 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue