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 b7d9e3f commit 9151cecCopy full SHA for 9151cec
index.d.ts
@@ -29,6 +29,7 @@ export interface Explanation {
29
callCount: number;
30
calls: Call[];
31
description: string;
32
+ isTestDouble: boolean;
33
}
34
35
export interface Matchers {
test/safe/typescript-typings.test.ts
@@ -27,7 +27,7 @@ export = {
27
if (eval('typeof Proxy') !== 'undefined') { // eslint-disable-line
28
class Bear { sleep () {} }
- const FakeBear = td.constructor<Class>(Bear)
+ const FakeBear = td.constructor<Bear>(Bear)
assert.equal(td.explain(FakeBear.prototype.sleep).isTestDouble, true)
0 commit comments