mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 14:30:41 -04:00
adding tests for all cases
This commit is contained in:
parent
59153633b8
commit
603f7fd911
19 changed files with 146 additions and 101 deletions
|
@ -10,7 +10,7 @@ describe('CryptTool', function () {
|
|||
|
||||
this.timeout(30000);
|
||||
it('can en- and decrypt any message', function () {
|
||||
jsc.check(jsc.forall(
|
||||
jsc.assert(jsc.forall(
|
||||
'string',
|
||||
'string',
|
||||
'string',
|
||||
|
@ -193,7 +193,7 @@ describe('CryptTool', function () {
|
|||
});
|
||||
|
||||
it('can en- and decrypt a particular message (#260)', function () {
|
||||
jsc.check(jsc.forall(
|
||||
jsc.assert(jsc.forall(
|
||||
'string',
|
||||
'string',
|
||||
async function (key, password) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue