testdouble
Advanced tools
Comparing version 3.2.3 to 3.2.4
# Change Log | ||
## [v3.2.4](https://github.com/testdouble/testdouble.js/tree/v3.2.4) (2017-08-06) | ||
[Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.3...v3.2.4) | ||
**Closed issues:** | ||
- td.constructor\(\) ReferenceError: td is not defined [\#279](https://github.com/testdouble/testdouble.js/issues/279) | ||
## [v3.2.3](https://github.com/testdouble/testdouble.js/tree/v3.2.3) (2017-08-01) | ||
@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/testdouble/testdouble.js/compare/v3.2.2...v3.2.3) |
@@ -26,3 +26,3 @@ 'use strict'; | ||
var fakeConstructorFromNames = function fakeConstructorFromNames(funcNames) { | ||
return _lodashWrap2.default.tap(td.function('(unnamed constructor)'), function (fakeConstructor) { | ||
return _lodashWrap2.default.tap((0, _function2.default)('(unnamed constructor)'), function (fakeConstructor) { | ||
fakeConstructor.prototype.toString = function () { | ||
@@ -29,0 +29,0 @@ return '[test double instance of constructor]'; |
@@ -6,2 +6,2 @@ 'use strict'; | ||
}); | ||
exports.default = '3.2.3'; | ||
exports.default = '3.2.4'; |
{ | ||
"name": "testdouble", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"description": "A minimal test double library for TDD with JavaScript", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/testdouble/testdouble.js", |
@@ -11,3 +11,3 @@ import _ from './util/lodash-wrap' | ||
var fakeConstructorFromNames = (funcNames) => { | ||
return _.tap(td.function('(unnamed constructor)'), (fakeConstructor) => { | ||
return _.tap(tdFunction('(unnamed constructor)'), (fakeConstructor) => { | ||
fakeConstructor.prototype.toString = () => | ||
@@ -14,0 +14,0 @@ '[test double instance of constructor]' |
@@ -1,1 +0,1 @@ | ||
export default '3.2.3' | ||
export default '3.2.4' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1694164