test(js): added small migration tests and mock wallet
Sadly I had to copy the .db file instead of moving it in the test. For some very odd reason, which can be debugged later, if I moved it inside the tests I would get an AEAD decryption error. It is a slight overhead that should be fine for now.
Sadly I had to copy the
.db
file instead of moving it in the test. For some very odd reason, which can be debugged later, if I moved it inside the tests I would get anAEAD decryption error
. It is a slight overhead that should be fine for now.