rewiremock
Advanced tools
Comparing version 1.3.8 to 1.3.9
{ | ||
"name": "rewiremock", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"description": "Easy and es6 compatible dependency mocking tool.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -36,3 +36,3 @@ interface OverloadedModule { | ||
*/ | ||
by(module: (OverloadedModule) => Object): ModuleMock, | ||
by(module: (module: OverloadedModule) => Object): ModuleMock, | ||
@@ -77,6 +77,6 @@ enable(): ModuleMock, | ||
around<T>(loader: () => T, creator?: Function): Promise<T>; | ||
inScope(callback): rewiremock; | ||
inScope(callback: Function): rewiremock; | ||
flush(); | ||
clear(); | ||
flush(): void; | ||
clear(): void; | ||
/** | ||
@@ -112,4 +112,5 @@ * converts module name | ||
declare module 'rewiremock' { | ||
var p: rewiremock; | ||
export default p; | ||
} | ||
var rewiremockdefault: rewiremock; | ||
} | ||
export default rewiremockdefault; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120342