pepellou/Cuore.js — comment on commit 877c8c7be15b65948cdf8892c6cf1c1bee040cd9
File:  line 0
By pepellou:

In jasmine you can test an error to be thrown with "expect(someFunction).toThrow(someError)". To just test it throws *any* error you need to specify that the "someError" is jasmine.undefined; otherwise it will also assert that the error thrown is equals to that "someError".