I have two similar objects with empty object. When compressing with zipson part of state disappearing.
I wrote two tests in test/full/object.ts:
it('nested empty object', function() {
testPackUnpack({ a: { 1: {} }, c: 42 })
})
it('nested empty object template', function() {
testPackUnpack({ a: { 1: {} }, b: { 1: {} }, c: 42 })
})
Second test is failing
1) object
nested empty template:
unpacked integrity
+ expected - actual
{
- "a": {}
- "b": {}
+ "a": {
+ "1": {}
+ }
+ "b": {
+ "1": {}
+ }
"c": 42
}
I have two similar objects with empty object. When compressing with zipson part of state disappearing.
I wrote two tests in
test/full/object.ts:Second test is failing