diff options
Diffstat (limited to 'testLib/sharedTestCases.js')
-rw-r--r-- | testLib/sharedTestCases.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/testLib/sharedTestCases.js b/testLib/sharedTestCases.js index c7bb446..b6caf6a 100644 --- a/testLib/sharedTestCases.js +++ b/testLib/sharedTestCases.js @@ -390,17 +390,4 @@ module.exports = function () { expect(constModule.dirname).to.equal(require("./constModule").dirname); }); - it("should be possible to create a class", function() { - var BClass = rewire("./ClassB"); - - expect(function() { - new BClass(); - }).to.not.throw; - - var b = new BClass(); - - expect(b.prop1).to.equal("B"); - expect(b.prop2).to.equal("something"); - }); - }; |