[#39147813] Fix failing Jasmine spec.