Improve code consistency and documentation readability

- Standardized Markdown formatting across documentation files.
- Fixed inconsistent usage of inline code blocks and improved syntax clarity.
- Updated tests and JSX for cleaner formatting and better readability.
- Adjusted E2E test navigation handlers for multiline code consistency.
- Simplified TypeScript configuration and organized JSON structure for better maintainability.
This commit is contained in:
Felipe Cardoso
2025-11-20 12:58:46 +01:00
parent 28b1cc6e48
commit 8fdbc2b359
13 changed files with 53 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ import Home from '@/app/[locale]/page';
jest.mock('next/image', () => ({
__esModule: true,
default: (props: any) => {
// eslint-disable-next-line @next/next/no-img-element, jsx-a11y/alt-text
// eslint-disable-next-line @next/next/no-img-element
return <img {...props} />;
},
}));

View File

@@ -240,9 +240,9 @@ describe('Storage Module', () => {
const descriptor = Object.getOwnPropertyDescriptor(global, 'localStorage');
Object.defineProperty(global, 'localStorage', { value: undefined, configurable: true });
await expect(
saveTokens({ accessToken: 'a', refreshToken: 'r' })
).rejects.toThrow('localStorage not available - cannot save tokens');
await expect(saveTokens({ accessToken: 'a', refreshToken: 'r' })).rejects.toThrow(
'localStorage not available - cannot save tokens'
);
if (descriptor) Object.defineProperty(global, 'localStorage', descriptor);
});