Because it relies on having a DOM for testing. You should be able to test the controller logic without creating a DOM, because you just have to mock the dependencies and then test the data in the constructed view model.
, - , , , , , , . , , .
, - , . , .