rewiremock
Advanced tools
Comparing version 3.13.0 to 3.13.1
@@ -25,3 +25,3 @@ import createPlugin from './_common'; | ||
throw new Error(name + ' is set toBeUsed, was requied, by rejected by plugins.\n' + history.join('\n')); | ||
throw new Error(name + ' is set toBeUsed, was required, but rejected by plugins.\n' + history.join('\n')); | ||
} | ||
@@ -28,0 +28,0 @@ }; |
@@ -36,3 +36,3 @@ 'use strict'; | ||
throw new Error(name + ' is set toBeUsed, was requied, by rejected by plugins.\n' + history.join('\n')); | ||
throw new Error(name + ' is set toBeUsed, was required, but rejected by plugins.\n' + history.join('\n')); | ||
} | ||
@@ -39,0 +39,0 @@ }; |
{ | ||
"name": "rewiremock", | ||
"version": "3.13.0", | ||
"version": "3.13.1", | ||
"description": "Advanced dependency mocking device.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -8,4 +8,4 @@ # rewiremock | ||
The most powerful mocking library, inspired by the best libraries: | ||
- [mockery](https://github.com/mfncooper/mockery) - Rewiremock __is__ a better mockery. | ||
- [proxyquire](https://github.com/theKashey/proxyquire) -Rewiremock __is__ it a better proxyquire. | ||
- [mockery](https://github.com/mfncooper/mockery) - Rewiremock __is__ a better mockery, with the same interface. | ||
- [proxyquire](https://github.com/theKashey/proxyquire) -Rewiremock __is__ a better proxyquire, with the same interface. | ||
- [mock-require](https://github.com/boblauer/mock-require) - Things must not be complex, Rewiremock __is__ not. | ||
@@ -91,3 +91,3 @@ - [jest.mocks](https://facebook.github.io/jest/docs/en/manual-mocks.html) - Jest is awesome. But rewiremock can do the same. | ||
- If you need scope isolation - use __rewiremock.around__, or inScope. | ||
- If you advanced syntax and type checking - use __rewiremock.around__. | ||
- If you need advanced syntax and type checking - use __rewiremock.around__. | ||
- You always can just use __.enable/.disable__ (~ mockery). | ||
@@ -94,0 +94,0 @@ |
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
183491