The Jasmine APIs have changed a bit in the 2.x version "series".
According to the latest docs you should use the count()
method:
expect(kamikaze.closeIdleTab.calls.count()).toBe(3);
I also tried that with your code and all tests pass successfully.