Hazelnoot
|
6e36462c80
|
update SkRateLimiterServiceTests.ts to use standard mocks and fakes
|
2025-11-05 19:42:30 -05:00 |
|
Hazelnoot
|
48984908e7
|
implement multi() in MockRedis
|
2025-11-05 19:42:30 -05:00 |
|
Hazelnoot
|
a55649e89a
|
move global services to "global" directory
|
2025-11-05 19:42:28 -05:00 |
|
Hazelnoot
|
8e000ae313
|
implement MockEnvService and fix tests
|
2025-11-05 19:41:09 -05:00 |
|
Hazelnoot
|
05be2596ea
|
update backend to the new templates
|
2025-11-05 19:41:08 -05:00 |
|
Hazelnoot
|
9beeca5942
|
modernize backend to target the same ES and TS standards as the rest of the app
|
2025-11-05 19:40:49 -05:00 |
|
Hazelnoot
|
1b98ed0e06
|
fix sporraddic test failures due to Postgres deadlock
|
2025-11-05 19:40:48 -05:00 |
|
Hazelnoot
|
2bbd5be646
|
fix type errors (again)
|
2025-11-05 19:40:48 -05:00 |
|
Hazelnoot
|
542b99244a
|
fix backend unit tests: migrate delete({}) to deleteAll()
|
2025-11-05 19:40:48 -05:00 |
|
Hazelnoot
|
4e7b2be730
|
add eslint rule to ban .delete({}) and .update({}, {...})
|
2025-11-05 19:40:48 -05:00 |
|
Hazelnoot
|
86a8614ef8
|
fix backend ESLint
|
2025-11-05 19:40:45 -05:00 |
|
Hazelnoot
|
0f2ae5e3dc
|
fix type of "body" in test/e2e/reversi-game.ts
|
2025-11-05 19:40:07 -05:00 |
|
Hazelnoot
|
8cc3b8dd1e
|
fix TypeORM error "Empty criteria(s) are not allowed for the delete method."
- https://github.com/typeorm/typeorm/issues/11455
- https://github.com/typeorm/typeorm/pull/11459
|
2025-11-05 19:38:06 -05:00 |
|
Hazelnoot
|
48edf3d71f
|
fix type error in test/e2e/reversi-game.ts
|
2025-11-05 19:35:31 -05:00 |
|
Hazelnoot
|
3702729f26
|
update all dependencies
|
2025-11-05 19:29:50 -05:00 |
|
Hazelnoot
|
2f4270b8f7
|
manage GC timers in CacheManagementService
|
2025-11-05 19:21:51 -05:00 |
|
Hazelnoot
|
acf29ff40b
|
rename MockInternalEventService methods to match other utilities
|
2025-11-05 19:21:51 -05:00 |
|
Hazelnoot
|
a1ef776f6f
|
fix repeating timers in GodOfTimeService
|
2025-11-05 19:21:51 -05:00 |
|
Hazelnoot
|
598c43945a
|
use GlobalModule in chart tests
|
2025-11-05 19:21:50 -05:00 |
|
Hazelnoot
|
3a92471b68
|
convert all remaining backend code to TimeService
|
2025-11-05 19:21:50 -05:00 |
|
Hazelnoot
|
2b4b5fd32c
|
fix ESLint errors when opening a configuration file in the IDE
|
2025-11-05 19:21:50 -05:00 |
|
Hazelnoot
|
6cceca90f9
|
use TimeService everywhere in the backend
|
2025-11-05 19:21:46 -05:00 |
|
Hazelnoot
|
64745a41e5
|
use TimeService in charts
|
2025-11-05 19:20:25 -05:00 |
|
Hazelnoot
|
2dfc878445
|
add GodOfTimeService.tick() to easily increment time
|
2025-11-05 19:20:25 -05:00 |
|
Hazelnoot
|
36205cc496
|
fix merge errors
|
2025-11-05 19:20:25 -05:00 |
|
Hazelnoot
|
2d0b3cd325
|
remove NestJS instance from UtilityService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
5805426bdf
|
remove NestJS instance from ReactionService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
7c6f46a3e0
|
remove NestJS instance from NoteCreateService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
c413896a21
|
remove NestJS instance from MfmService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
bbdc62992a
|
await DB cleanup in chart.ts unit test
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
d3ac7598b7
|
remove NestJS instance from ApMfmService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
1e04b20b6b
|
fix activitypub.ts unit tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
a3e969625d
|
remove inline providers from unit tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
92892338f3
|
call app.init, app.enableShutdownHooks, and app.close in more tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
7d6732bf96
|
commit missed changes in UserEntityService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
31ce0f7cd2
|
use CacheManagementService in CheckModeratorsActivityProcessorService.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
5db84dfc9b
|
disconnect redis after running e2e/timelines.ts tests
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
3f950e398b
|
remove NoOpCaches in favor of CacheManagementService
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
c8976fef94
|
update unit tests for QuantumKVCache
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
e222516fce
|
update unit tests for is-retryable-error
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
b32f3b5019
|
manage caches in SkRateLimiterService
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
338dad9a87
|
add unit tests for CacheManagementService
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
ff76371057
|
add MockApResolverService testing utility
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
ac0d261190
|
add FakeSkRateLimiterService testing utility
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
d2e902f5b7
|
rename FakeInternalEventService to MockInternalEventService and fix DI errors
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
dac1a3d20f
|
add FakeCacheManagementService testing utility
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
4142788989
|
add MockRedis testing utility
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
1d5bc6928f
|
add FakeRedis testing utility
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
411df0c0bf
|
fix DI errors when using TimeService
|
2025-11-05 19:20:05 -05:00 |
|
Hazelnoot
|
48cc7e21e3
|
make TimeService abstract and add support for managed timers
|
2025-11-05 19:20:04 -05:00 |
|