Skip to content

Commit cc21a86

Browse files
refractor tests
1 parent 9b57c36 commit cc21a86

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/angular-testing/src/app/app.component.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import { HttpClientModule } from '@angular/common/http';
2-
import { ReactiveFormsModule } from '@angular/forms';
3-
import { render, screen, userEvent, fireEvent } from '@testing-library/angular';
1+
import { render, screen, fireEvent } from '@testing-library/angular';
42
import { AppComponent, Album } from './app.component';
53
import { AlbumService } from './album.service';
64
import { of } from 'rxjs';
@@ -16,7 +14,6 @@ it('should be able to load albums', async () => {
1614
];
1715

1816
await render(AppComponent, {
19-
imports: [HttpClientModule, ReactiveFormsModule],
2017
componentProviders: [
2118
{
2219
provide: AlbumService,

0 commit comments

Comments
 (0)