From e70efd18f9e1d5993fc0a7f1decb5fe6720b3bd8 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Mon, 23 Feb 2015 01:31:08 +0100 Subject: Fix problems when global objects like JSON, etc. have been rewired Fixes #40 --- test/__set__.test.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/__set__.test.js') diff --git a/test/__set__.test.js b/test/__set__.test.js index ef69a07..efd1eeb 100644 --- a/test/__set__.test.js +++ b/test/__set__.test.js @@ -121,11 +121,5 @@ describe("__set__", function () { expect(function () { moduleFake.__set__(function () {}); }).to.throwException(expectTypeError); - expect(function () { - moduleFake.__set__({}, true); // misfitting number of params - }).to.throwException(expectTypeError); - expect(function () { - moduleFake.__set__("someVar"); // misfitting number of params - }).to.throwException(expectTypeError); }); -}); \ No newline at end of file +}); -- cgit v1.2.3