|
|
@@ -0,0 +1,32 @@
|
|
|
+import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
+import { Auth0ClientService } from '@auth0/auth0-angular';
|
|
|
+import { AppRoutingModule } from 'src/app/app-routing.module';
|
|
|
+
|
|
|
+import { HomePageComponent } from './home-page.component';
|
|
|
+
|
|
|
+describe('HomePageComponent', () => {
|
|
|
+ let component: HomePageComponent;
|
|
|
+ let fixture: ComponentFixture<HomePageComponent>;
|
|
|
+
|
|
|
+ beforeEach(async () => {
|
|
|
+ await TestBed.configureTestingModule({
|
|
|
+ declarations: [HomePageComponent],
|
|
|
+ imports: [AppRoutingModule],
|
|
|
+ providers: [
|
|
|
+ {
|
|
|
+ provide: Auth0ClientService,
|
|
|
+ useValue: {}
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ })
|
|
|
+ .compileComponents();
|
|
|
+
|
|
|
+ fixture = TestBed.createComponent(HomePageComponent);
|
|
|
+ component = fixture.componentInstance;
|
|
|
+ fixture.detectChanges();
|
|
|
+ });
|
|
|
+
|
|
|
+ it('should create', () => {
|
|
|
+ expect(component).toBeTruthy();
|
|
|
+ });
|
|
|
+});
|