Commit Graph

10 Commits

Author SHA1 Message Date
mini-bomba
899000309f make eslint scream about promises, then fix all lints
also rewrite a bunch of test suites from using done callbacks to using
async functions - it's way too easy to forget about a .catch() clause
2025-09-11 01:14:40 +02:00
Michael C
d1d7675a8c test fixes
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching

syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name

test cases
- add getHashCache test case
- add more tests to redisTest

configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version

Co-Authored-By: Ajay Ramachandran <dev@ajay.app>
2022-09-07 02:16:23 -04:00
Ajay
5b177a3e53 Prepare dockerfile for use, allow configuring via env vars 2022-05-03 22:08:44 -04:00
Ajay
8dc87da462 Back rate limit by redia and upgrade node-redis 2022-04-13 17:36:07 -04:00
Michael C
5713b96d13 add test for downvote videoDuration change 2022-02-04 00:21:15 -05:00
Michael C
2b8944bf15 correct tempVIP test 2022-02-03 13:51:15 -05:00
Michael C
db5922e4b7 fix tempvip cases 2022-02-03 13:49:13 -05:00
Michael C
05516a5d7d fix postgres quotes & fixed test.json 2021-12-31 17:12:46 -05:00
Michael C
a42f023074 add more testing, change enabled
- add 404 if channelID cannot be dervived
- added response message on success returning channel name
- test limits of temp VIP
- minor eslint
2021-12-31 16:54:28 -05:00
Michael C
a1d28fbfe1 add addUserAsTempVIP 2021-12-31 04:26:37 -05:00