We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ec8f7 commit 97a38b2Copy full SHA for 97a38b2
src/constructor.js
@@ -8,7 +8,7 @@ export default (typeOrNames) =>
8
: fakeConstructorFromNames(typeOrNames)
9
10
var fakeConstructorFromNames = (funcNames) => {
11
- return _.tap(td.function('(unnamed constructor)'), (fakeConstructor) => {
+ return _.tap(tdFunction('(unnamed constructor)'), (fakeConstructor) => {
12
fakeConstructor.prototype.toString = () =>
13
'[test double instance of constructor]'
14
0 commit comments