@jest-mock/express
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -0,0 +0,0 @@ module.exports = { |
@@ -0,0 +0,0 @@ module.exports = { |
import getMockReq from './src/request'; | ||
import getMockRes from './src/response'; | ||
export { getMockReq, getMockRes }; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -39,3 +39,3 @@ import { Request } from 'express'; | ||
} | ||
export declare const getMockReq: <T extends Request>(values?: MockRequest) => T; | ||
export declare const getMockReq: <T extends Request<import("express-serve-static-core").ParamsDictionary, any, any, import("express-serve-static-core").Query>>(values?: MockRequest) => T; | ||
export default getMockReq; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -7,3 +7,3 @@ import { Response, NextFunction } from 'express'; | ||
export declare const getMockRes: () => { | ||
res: Response; | ||
res: Response<any>; | ||
next: NextFunction; | ||
@@ -10,0 +10,0 @@ mockClear: () => void; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import getMockReq from './src/request' |
@@ -0,0 +0,0 @@ module.exports = { |
{ | ||
"name": "@jest-mock/express", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "A lightweight Jest mock for unit testing Express", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,0 +0,0 @@ # @jest-mock/express |
@@ -0,0 +0,0 @@ // Tested Module |
@@ -0,0 +0,0 @@ // Libraries |
@@ -0,0 +0,0 @@ // Tested Module |
@@ -0,0 +0,0 @@ // Libraries |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
81697