forked from cardosofelipe/fast-next-template
Refactor multiline formatting, link definitions, and code consistency across components and tests
- Improved readability by updating multiline statements and object definitions. - Applied consistent link and button wrapping in `DemoSection` and other components. - Enhanced test assertions and helper functions with uniform formatting and parentheses usage.
This commit is contained in:
@@ -157,7 +157,7 @@ describe('DemoCredentialsModal', () => {
|
||||
|
||||
const loginAsUserLink = screen.getByRole('link', { name: /login as user/i });
|
||||
expect(loginAsUserLink).toHaveAttribute('href', '/login');
|
||||
|
||||
|
||||
const loginAsAdminLink = screen.getByRole('link', { name: /login as admin/i });
|
||||
expect(loginAsAdminLink).toHaveAttribute('href', '/login');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user