Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesHoppe committed Nov 2, 2024
1 parent b353909 commit bb4d9a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 39 deletions.
16 changes: 11 additions & 5 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ import { TestBed } from '@angular/core/testing';
// import { RouterTestingModule } from '@angular/router/testing';

import { AppComponent } from './app.component';
import { provideHttpClient } from '@angular/common/http';
import { provideHttpClientTesting } from '@angular/common/http/testing';

describe('AppComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [
// RouterTestingModule,
AppComponent
]
}).compileComponents();
imports: [
// RouterTestingModule,
AppComponent
],
providers: [
provideHttpClient(),
provideHttpClientTesting()
]
}).compileComponents();
});

it('should create the app', () => {
Expand Down
34 changes: 0 additions & 34 deletions src/app/books/dashboard/dashboard.component.spec.ts

This file was deleted.

0 comments on commit bb4d9a7

Please sign in to comment.