Upgrade SWC Core and Storybook to v8 (#13799)

This is is a blocker for various sub-migrations
This commit is contained in:
Félix Malfait
2025-08-11 12:02:33 +02:00
committed by GitHub
parent e6cb0c0a25
commit d29dbd473b
84 changed files with 1815 additions and 3583 deletions
@@ -64,6 +64,15 @@ describe('AdminPanelHealthService', () => {
service = module.get<AdminPanelHealthService>(AdminPanelHealthService);
// Override the healthIndicators mapping with our mocked instances
(service as any)['healthIndicators'] = {
[HealthIndicatorId.database]: databaseHealth,
[HealthIndicatorId.redis]: redisHealth,
[HealthIndicatorId.worker]: workerHealth,
[HealthIndicatorId.connectedAccount]: connectedAccountHealth,
[HealthIndicatorId.app]: appHealth,
};
loggerSpy = jest
.spyOn(service['logger'], 'error')
.mockImplementation(() => {});