[#39970349] Fix broken jasmine specs.