feat: add routing for componentes-test and create reusable button component
- Implemented lazy loading for the componentes-test feature module. - Created a redirect route to componentes-test as the default path. - Added a new ReutilizablesTestPageComponent to showcase reusable components. - Developed a reusable ButtonComponent with various styles and states. - Updated global styles to include Bootstrap. - Added SCSS styles for the new components and pages.
This commit is contained in:
@@ -18,6 +18,6 @@ describe('App', () => {
|
||||
const fixture = TestBed.createComponent(App);
|
||||
await fixture.whenStable();
|
||||
const compiled = fixture.nativeElement as HTMLElement;
|
||||
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, shopit-front');
|
||||
expect(compiled.querySelector('router-outlet')).not.toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user