add: failing test for 4e2 as 400

This commit is contained in:
Hadar 2019-09-15 01:14:18 +03:00
parent a0ab6931d1
commit 932ff99c58

View File

@ -134,6 +134,9 @@ describe('SEA', function(){
SEA.encrypt(null, pair, function(s){
SEA.decrypt(s, pair, function(v){
expect(null).to.be(v);
SEA.encrypt('4e2', pair, function(s){
SEA.decrypt(s, pair, function(v){
expect('4e2').to.be(v);
SEA.encrypt(true, pair, function(s){
SEA.decrypt(s, pair, function(v){
expect(true).to.be(v);
@ -171,7 +174,7 @@ describe('SEA', function(){
SEA.decrypt(s, pair, function(v){
expect({a:1}).to.eql(v);
done();
});});});});});});});});});});});});});});});});});});});});});});});});});});});
});});});});});});});});});});});});});});});});});});});});});});});});});});});});});
})
it('legacy', function(done){ (async function(){