mirror of
https://github.com/amark/gun.git
synced 2025-06-05 05:36:55 +00:00
add: failing test for 4e2 as 400
This commit is contained in:
parent
a0ab6931d1
commit
932ff99c58
@ -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(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user