forked from cardosofelipe/fast-next-template
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:
@@ -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