techfort / LokiJS

javascript embeddable / in-memory database
http:/techfort.github.io/LokiJS
MIT License
6.71k stars 478 forks source link

Unit test of `persistence` is not correctly implemented #922

Open Losses opened 1 year ago

Losses commented 1 year ago

https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/persistence.spec.js#L118-L144

Since the type of idx is number, so all methods wound not be tested.