From 7ac4f60a76e8513625150385dc186a78b2406d0f Mon Sep 17 00:00:00 2001 From: blacksun1 Date: Fri, 7 Apr 2017 09:46:58 +0930 Subject: [PATCH] Fixes for pull request comments --- test/stub-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/stub-test.js b/test/stub-test.js index c598cf25c..9e4bfc657 100644 --- a/test/stub-test.js +++ b/test/stub-test.js @@ -322,7 +322,7 @@ describe("stub", function () { var stub = createStub.create(); assert(stub.usingPromise); - assert.isTrue(typeof stub.usingPromise === "function"); + assert.isFunction(stub.usingPromise); }); it("should return the current stub", function () {