Skip to content

Fix racing condition in Ajax call of merge_request_tabs_spec.js

Inactive Account requested to merge winh-fix-transient-loadDiff-failure into master

What does this MR do?

Fix racing condition leading to a transient test failure by

  • making test with Ajax call asynchronous
  • mocking local instance method instead of jQuery

Does this MR meet the acceptance criteria?

  • Review
    • Has been reviewed by Frontend

What are the relevant issue numbers?

fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/35294

Edited by Inactive Account

Merge request reports

Loading