joebandenburg/js-inheritance-questions — pull request #1 by matthewdunsdon (2014-10-15 15:44:01+00:00)
Title: Fix tests to not throw errors when all tests are disabled

There is logic outside the test `it` / `xit` blocks which throws an error when no `Cat` function is defined in the implementation.

`beforeEach` only gets called when there is an enabled test, so have wrapped this logic with
`beforeEach` to prevent any errors been thrown.