jest-mock-promise
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "jest-mock-promise", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Synchronous Promise Mock for testing with Jest", | ||
@@ -5,0 +5,0 @@ "main": "dist/jest-mock-promise.js", |
# What's this? | ||
This is yet another synchronous implementation od JavaScript Promise, written to ease the pain of unit testing. It's written in TypeScript as a support class for an [Jest Mock Axios](https://www.npmjs.com/package/jest-mock-axios). | ||
This is yet another synchronous implementation od JavaScript Promise, written to ease the pain of unit testing. It's written in TypeScript as a support class for an [Jest Mock Promise](https://www.npmjs.com/package/jest-mock-promise). | ||
@@ -11,3 +11,3 @@ ### Why yet another? | ||
### Why is it then called *jest-mock-promise*? | ||
Because it was originally written as a part of the [jest-mock-axios](https://www.npmjs.com/package/jest-mock-axios) project and still is it's integral part (as an external dependency). So it's name is a legacy of it's humble beginnings :) | ||
Because it was originally written as a part of the [jest-mock-promise](https://www.npmjs.com/package/jest-mock-promise) project and still is it's integral part (as an external dependency). So it's name is a legacy of it's humble beginnings :) | ||
@@ -14,0 +14,0 @@ # What's in this document? |
57088