[#47107283] Fixes flaky jasmine spec