Skip to content

Commit 8c4628e

Browse files
Update node/mock-run.ts
change to precise types in registerMock Co-authored-by: Konstantin Tyukalov <[email protected]>
1 parent a7df279 commit 8c4628e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/mock-run.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class TaskMockRunner {
8080
* @param val Mock implementation of the module.
8181
* @returns void
8282
*/
83-
public registerMock(modName: any, mod: any): void {
83+
public registerMock(mod: string | object, modMock: object): void {
8484
this._moduleCount++;
8585
let oldMod: object;
8686

0 commit comments

Comments
 (0)