habitica-self-host/test/api/unit/libs
Matteo Pagliazzi c93bf3e498
MongoDB Transactions (#12335)
* add run-rs to dependencies

* wip: add replica set to api unit github action

* wip: add replica set to api unit github action

* wip: fix gh actions mongodb replica set setting

* usa replica set for integration tests

* add correct mongodb version matrix for integration tests

* use different db connection on gh actions

* Revert "use different db connection on gh actions"

This reverts commit aa8db759d380ba58ac90304c786b3eba5004b1bd.

* add example transaction

* add mongo script to package.json

* abstract mongodb utils, connect using hostname on windows

* npm scripts: mongo -> mongo:dev

* add setup script for run-rs on windows

* gh actions: run in test environment

* remove test files

* better error handling, use cross-spawn to avoid issues on windows

* fix lint
2020-07-14 18:55:47 +02:00
..
items Hall Fixes (#11403) 2019-10-06 17:08:11 +02:00
payments chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
analyticsService.test.js Fix Typos (#11644) 2019-12-23 17:52:55 +01:00
apiError.js fix test lint 2019-10-08 20:45:38 +02:00
baseModel.test.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
collectionManipulators.test.js fix test lint 2019-10-08 20:45:38 +02:00
content.test.js API-v4 route added: 'api/v4/faq' fixes #11801 (#11905) 2020-04-14 22:14:53 +02:00
cron.test.js To-Do cron task decay fixes (#12072) 2020-05-05 18:52:44 +02:00
email.test.js Sign in with Apple (#11793) 2020-04-08 18:44:30 +02:00
encryption.test.js fix test lint 2019-10-08 20:45:38 +02:00
errors.test.js IP Blocking (#12015) 2020-03-28 15:44:54 +01:00
highlightMentions.test.js Fix empty link bug and proper error logging in highlightMentions.js (#12228) 2020-05-31 18:09:43 +02:00
i18n.test.js fix test lint 2019-10-08 20:45:38 +02:00
language.test.js Automatically Logout Banned Users (#12037) 2020-04-02 21:46:01 +02:00
localizeContentData.js API-v4 route added: 'api/v4/faq' fixes #11801 (#11905) 2020-04-14 22:14:53 +02:00
logger.js fix(logger): improve logging and make sure no data is lost 2020-03-24 20:29:31 +01:00
mongodb.js MongoDB Transactions (#12335) 2020-07-14 18:55:47 +02:00
password.test.js fix test lint 2019-10-08 20:45:38 +02:00
preening.test.js fix test lint 2019-10-08 20:45:38 +02:00
pushNotifications.js Push Notifications Improvements (#12019) 2020-04-10 16:41:44 +02:00
setupNconf.test.js chore: update sub-deps and fix lint 2020-07-01 18:20:18 +02:00
slack.js fix test lint 2019-10-08 20:45:38 +02:00
stringUtils.test.js fix(unit tests): re add code removed by mistake in stringUtils tests 2020-04-28 17:00:57 +02:00
taskManager.js Onboarding guide and initial achievements refactoring (#11536) 2019-12-16 17:20:47 +01:00
webhooks.test.js Push Notifications Improvements (#12019) 2020-04-10 16:41:44 +02:00