Skip to content

Commit 77ae796

Browse files
committed
chore: lint fix
Signed-off-by: Akshat Patel <akshat@live.ca>
1 parent eea3c0d commit 77ae796

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/treeview/treeview.component.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { TreeNodeComponent } from "./tree-node.component";
1616
`
1717
})
1818
class TreeviewTestComponent {
19-
onSelect() {}
2019

2120
tree = [
2221
{
@@ -49,6 +48,7 @@ class TreeviewTestComponent {
4948
]
5049
}
5150
];
51+
onSelect() {}
5252
}
5353

5454

@@ -111,11 +111,11 @@ describe("Treeview", () => {
111111

112112
it("should emit 'select' event from the tree wrapper when a node is clicked", fakeAsync(() => {
113113
const wrapper = tree.componentInstance;
114-
const selectSpy = spyOn(wrapper.select, 'emit');
114+
const selectSpy = spyOn(wrapper.select, "emit");
115115
fixture.detectChanges();
116-
nodes[0].nativeElement.querySelector('.cds--tree-node__label').dispatchEvent(new Event('click'));
116+
nodes[0].nativeElement.querySelector(".cds--tree-node__label").dispatchEvent(new Event("click"));
117117
tick();
118118
expect(selectSpy).toHaveBeenCalled();
119-
}))
119+
}));
120120
});
121121

0 commit comments

Comments
 (0)