thanhnguyen2187 / crypta

An offline-first code snippet manager
https://thanhnguyen2187.github.io/crypta/
MIT License
7 stars 0 forks source link

Add unit testing #37

Open thanhnguyen2187 opened 8 months ago

thanhnguyen2187 commented 7 months ago

We should be more concrete with this: are we aiming for coverage test or just some unit testing for complex state logic?

A few parts the work was done within #38.

thanhnguyen2187 commented 6 months ago

From the above PR:

TODO: investigate how to start a ws4sqlite process on test setting up and stop the process on test tearing down.

Code pointer: src/lib/sqlite/sqliterg.test.ts.