feat: add charity reporting & financial breakdowns in admin, fix mobile scroll restoration and OTP numeric keyboard
Deploy Canina / deploy (push) Successful in 1m44s

This commit is contained in:
parsa committed 2026-08-26 00:12:33 +03:30
1 parent 7b89e141c5
commit cf9ae234b9
230 files changed
+266394 -123714

No files matched your search

@@ -37,14 +37,11 @@ describe('SettingsController', () => {
expect(controller).toBeDefined();
});
it('should have JwtAuthGuard, RolesGuard and Admin role applied at controller level', () => {
const guards = Reflect.getMetadata(GUARDS_METADATA, SettingsController);
it('should have JwtAuthGuard and RolesGuard on protected mutation routes', () => {
const guards = Reflect.getMetadata(GUARDS_METADATA, controller.putUiText);
expect(guards).toBeDefined();
expect(guards).toContain(JwtAuthGuard);
expect(guards).toContain(RolesGuard);
const roles = Reflect.getMetadata(ROLES_KEY, SettingsController);
expect(roles).toEqual(['Admin']);
});
it('should getUiTexts', async () => {