Open Losses opened 1 year ago
https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/immutable.spec.js#L267
The code (probably) should be:
expect(isFrozen(docs[0]) && isFrozen(docs[1])).toBe(true)
but not:
expect(isFrozen(docs[0] && isFrozen(docs[1]))).toBe(true)
Same issue:
https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/immutable.spec.js#L272
https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/immutable.spec.js#L267
The code (probably) should be:
but not:
Same issue:
https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/immutable.spec.js#L272