diff --git a/src/app/services/seo.service.spec.ts b/src/app/services/seo.service.spec.ts index e8e4139..f1cf435 100644 --- a/src/app/services/seo.service.spec.ts +++ b/src/app/services/seo.service.spec.ts @@ -1,3 +1,7 @@ +// Load the JIT compiler BEFORE any Angular router/common imports so that +// injectables like PlatformLocation can be instantiated without TestBed. +import '@angular/compiler'; + import { describe, it, expect, beforeEach, vi } from 'vitest'; import { Subject } from 'rxjs'; import { NavigationEnd } from '@angular/router';