mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-19 21:58:08 -04:00
improve JS unit test readability & error reporting
This commit is contained in:
@@ -217,10 +217,8 @@ describe('PasteStatus', function () {
|
||||
);
|
||||
$.PrivateBin.PasteStatus.init();
|
||||
$.PrivateBin.PasteStatus.hideMessages();
|
||||
assert.ok(
|
||||
$('#remainingtime').hasClass('hidden') &&
|
||||
$('#pastesuccess').hasClass('hidden')
|
||||
);
|
||||
assert.ok($('#remainingtime').hasClass('hidden'));
|
||||
assert.ok($('#pastesuccess').hasClass('hidden'));
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user