Skip to content

Commit 5ae496c

Browse files
committed
fix: async test
1 parent ea5f12c commit 5ae496c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

projects/ngx-angular-query-builder/src/lib/query-builder/query-builder.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
1+
import { waitForAsync, ComponentFixture, TestBed } from "@angular/core/testing";
22
import { CommonModule } from "@angular/common";
33
import { FormsModule } from "@angular/forms";
44
import { QueryBuilderComponent } from "./query-builder.component";
@@ -7,7 +7,7 @@ describe("QueryBuilderComponent", () => {
77
let component: QueryBuilderComponent;
88
let fixture: ComponentFixture<QueryBuilderComponent>;
99

10-
beforeEach(async(() => {
10+
beforeEach(waitForAsync(() => {
1111
TestBed.configureTestingModule({
1212
imports: [CommonModule, FormsModule],
1313
declarations: [QueryBuilderComponent]

projects/ngx-angular-query-builder/src/lib/query-builder/query-builder.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import {
4242
forwardRef,
4343
Input,
4444
OnChanges,
45-
OnInit,
4645
QueryList,
4746
SimpleChanges,
4847
TemplateRef,

projects/ngx-angular-query-builder/src/lib/query-builder/query-builder.interfaces.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { ValidationErrors } from "@angular/forms";
2-
31
export interface RuleSet {
42
condition: string;
53
rules: Array<RuleSet | Rule | any>;

0 commit comments

Comments
 (0)