The strange indentation in these specs makes them a bit hard to follow -- the lack of space between `it` blocks also isn't great. Something like this would be preferable:

```
expect(function() {
  ...
}).toThrowError('...');
```