New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jest-mock-promise

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-mock-promise - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "jest-mock-promise",
"version": "1.1.2",
"version": "1.1.3",
"description": "Synchronous Promise Mock for testing with Jest",

@@ -5,0 +5,0 @@ "main": "dist/jest-mock-promise.js",

@@ -19,3 +19,3 @@ # What's this?

* [Second example - Applying the synchronous Promise](#second-example---applying-the-synchronous-promise )
* [Third example - Mocking Axios](#third-example---mocking-axios)
* [Third example - Mocking `fetch`](#third-example---mocking-fetch)
* [API](#api)

@@ -165,5 +165,5 @@

## Third example - Mocking Axios
## Third example - Mocking `fetch`
As the final example we can have a look source code of [`jest-mock-axios`](https://github.com/knee-cola/jest-mock-axios), which is based on `jest-mock-promise`.
As the final example we can have a look source code of [`jest-mock-fetch`](https://github.com/knee-cola/jest-mock-fetch), which is based on `jest-mock-promise`.

@@ -170,0 +170,0 @@ # API

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