npm run test -- --filter="integration_ShowAllNotes"
Sometimes all tests pass. But it also sometimes fails with different errors.
This is one type of error I get.
- integration_ShowAllNotes should show retain note selection when going from a folder to all-notes
Unhandled promise rejection: Error: Accessing database before it has been initialised
Sometimes I also get this failure
- integration_ShowAllNotes should show all notes
Expected $.length = 0 to equal 9.
Here are the error logs.