mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-24 22:45:10 -04:00
update jsdom dependency, fix tests
This commit is contained in:
+2
-3
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user