diff options
author | Johannes Ewald <johannes.ewald@peerigon.com> | 2015-02-23 03:31:08 +0300 |
---|---|---|
committer | Johannes Ewald <johannes.ewald@peerigon.com> | 2015-02-23 03:31:08 +0300 |
commit | e70efd18f9e1d5993fc0a7f1decb5fe6720b3bd8 (patch) | |
tree | 78fd4ec2d58346f17aaf19b313d5864896143052 /test/__set__.test.js | |
parent | 52e914dc8b447d1cf99dd946869e8eafb5b53ae4 (diff) |
Fix problems when global objects like JSON, etc. have been rewired
Fixes #40
Diffstat (limited to 'test/__set__.test.js')
-rw-r--r-- | test/__set__.test.js | 8 |
1 files changed, 1 insertions, 7 deletions
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 +}); |