"unexpected token ;" syntax error while running tests on non-global controller

I assume you could left in on purpose as you write "Yay! The test passed! Or not...". Nevertheless, Karma unit test throws "SynthaxError: Unexpected token ;" without having inject method close bracket at it's place. Best regards!