- Run tests with
npm testafter changes - When creating or significantly modifying a component/service, add or update tests to maintain coverage
- Test files live alongside their source:
foo.component.spec.tsnext tofoo.component.ts - Use Vitest (
describe,it,expect,beforeEachfrom 'vitest') with Angular TestBed - In jsdom, use
getAttribute()instead of direct properties for non-standard HTML attributes (e.g.img.getAttribute('loading')notimg.loading)
- Angular 19+ standalone components with lazy-loaded routes
- Tailwind CSS v4 for styling
- Vitest for testing (jsdom environment)
- Routes:
/(homepage),/auth,/filings,/filings/document/:accessionNumber,/help - Auth: Auth0 with Google/GitHub social logins
AppChromeServicecontrols status bar/modal visibility — page components opt in via signal