From be78b66c5a2fa454e4921e2f07327b910c33d0c0 Mon Sep 17 00:00:00 2001 From: akastijn Date: Sat, 27 Dec 2025 21:20:49 +0100 Subject: [PATCH] Refactor `ParticleComponent` by replacing custom color picker with Angular Material form fields, adjusting style --- .../particle/particle.component.html | 8 +++---- .../particle/particle.component.scss | 9 +++----- .../particle/particle.component.spec.ts | 23 ------------------- 3 files changed, 7 insertions(+), 33 deletions(-) delete mode 100644 frontend/src/app/pages/particles/components/particle/particle.component.spec.ts diff --git a/frontend/src/app/pages/particles/components/particle/particle.component.html b/frontend/src/app/pages/particles/components/particle/particle.component.html index 849b497..15de30a 100644 --- a/frontend/src/app/pages/particles/components/particle/particle.component.html +++ b/frontend/src/app/pages/particles/components/particle/particle.component.html @@ -6,10 +6,10 @@
-
- - Current color: {{ selectedColor }} -
+ + Current color: {{ selectedColor }} + + Select Particle Type { - let component: ParticleComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [ParticleComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(ParticleComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -});