Skip to content
Snippets Groups Projects
Commit bbaf35e8 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add providers

parent 3c23e90f
No related branches found
No related tags found
1 merge request!514Rates App: content
import {provideHttpClient} from '@angular/common/http';
import {ComponentFixture, TestBed} from '@angular/core/testing';
import {provideNoopAnimations} from '@angular/platform-browser/animations';
import {provideRouter} from '@angular/router';
import {ParameterSummaryComponent} from './parameter-summary.component';
......@@ -9,6 +12,11 @@ describe('ParameterSummaryComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ParameterSummaryComponent],
providers: [
provideHttpClient(),
provideRouter([]),
provideNoopAnimations(),
],
}).compileComponents();
fixture = TestBed.createComponent(ParameterSummaryComponent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment