mirror of
https://github.com/zkitter/zkitterd.git
synced 2026-01-09 13:47:56 -05:00
* fix db unit tests Use cloud postgres DB instead of sqlite * refactor: parallelize async calls * test: force resync in test scripts To flush tables * chore: remove use of `test.db` * chore: newline * fix: skip failing tests * remove use of `getMockDB` * skip process.exit * do not create new db connection, use cached Sequelize instance * fix:test: force exit at end of DbService tests * run `npm run test` in GH test action `npm run test:coverage` would always fail (we don't meet the coverage threshold) * chore: use heroku postgres instance instead of elephantsql for testing Heroku provides postgres 14.5. elephantsql has only postgres 11.12 * fix db unit test * remove unused (redeclared) `parse` function Co-authored-by: tsukino <87639218+0xtsukino@users.noreply.github.com>