Skip to content

Commit de6fe89

Browse files
committed
Add explicit type definition to the return value of test utils
1 parent b9901da commit de6fe89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test-utils/dom/split-panel/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ export default class SplitPanelWrapper extends ComponentWrapper {
3030
return this.findByClassName(testUtilStyles.slider);
3131
}
3232

33-
findHeaderActions() {
33+
findHeaderActions(): ElementWrapper | null {
3434
return this.findByClassName(testUtilStyles['header-actions']);
3535
}
3636

37-
findHeaderBefore() {
37+
findHeaderBefore(): ElementWrapper | null {
3838
return this.findByClassName(testUtilStyles['header-before']);
3939
}
4040

41-
findHeaderDescription() {
41+
findHeaderDescription(): ElementWrapper | null {
4242
return this.findByClassName(testUtilStyles['header-description']);
4343
}
4444

45-
findHeaderInfo() {
45+
findHeaderInfo(): ElementWrapper | null {
4646
return this.findByClassName(testUtilStyles['header-info']);
4747
}
4848

0 commit comments

Comments
 (0)