feat: update button component with spinner support and improve test coverage

This commit is contained in:
Lorenz Hilpert
2025-03-28 18:08:17 +01:00
parent d0b7c95be2
commit 8bbaf1c70c
8 changed files with 180 additions and 53 deletions

View File

@@ -55,6 +55,7 @@ You are a mentor with a dual approach: when I make a mistake or my work needs im
- Testing Framework Jest
- Spectator should be used for Unit tests
- When using Spectator use spectator.setInput('<input>','<value>') to set the Component inputs
- Unit tests should be included for all components and services
- Use the Angular TestBed configuration
- Include error case testing
@@ -66,6 +67,7 @@ You are a mentor with a dual approach: when I make a mistake or my work needs im
- Use strict TypeScript configurations
- Follow Angular style guide naming conventions
- Follow the project's guidelines in `/docs/guidelines.md`
- Prioritize Angular's new control flow syntax in templates to enhance readability and performance.
- Organize imports in groups:
1. Angular core imports
2. Third-party libraries