Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy committed Mar 7, 2024
1 parent cf5a384 commit 0a55f45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ describe("RequestStatsCompareComponent", () => {
topMetricsSettings: undefined,
zeroErrorToleranceEnabled: false,
status: "10",
minTestDuration: 2,
overview: {
maxVu: 100,
avgConnect: 100,
Expand Down
6 changes: 3 additions & 3 deletions src/app/login/login.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ describe("LoginComponent", () => {

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [ReactiveFormsModule, RouterModule.forRoot([], { relativeLinkResolution: "legacy" }), HttpClientTestingModule],
declarations: [ LoginComponent ]
imports: [ReactiveFormsModule, RouterModule.forRoot([], {}), HttpClientTestingModule],
declarations: [LoginComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("DeleteScenarioComponent", () => {
TestBed.configureTestingModule({
declarations: [DeleteScenarioComponent],
imports: [FormsModule, ReactiveFormsModule, HttpClientTestingModule,
RouterModule.forRoot([], { relativeLinkResolution: "legacy" })]
RouterModule.forRoot([], { })]
})
.compileComponents();
}));
Expand Down

0 comments on commit 0a55f45

Please sign in to comment.