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

@@ -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);
});