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:
@@ -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} />;
|
||||
},
|
||||
}));
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user