Skip to content

Commit 729da43

Browse files
author
Gerald Baulig
committed
fix(test): stub names
1 parent bc6cd18 commit 729da43

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/stub.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@ export abstract class Stub
1313
static cfg: any = null;
1414
static logger: Logger = null;
1515

16-
private static getType<T extends Stub>(stub: T): string {
17-
return stub.constructor.name;
18-
}
19-
2016
get type(): string {
21-
return Stub.getType(this);
17+
return this.constructor.name;
2218
}
2319

2420
constructor(

0 commit comments

Comments
 (0)