Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jest-mock/express

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest-mock/express - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

0

.eslintrc.js

@@ -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";

2

dist/src/request.d.ts

@@ -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";

@@ -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";

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc