Skip to content

Migrate ee/spec/javascripts/issuable/components to Jest

Paul Slaughter requested to merge 194291-move-related-issues-to-jest into master

What does this MR do?

This MR moves the specs in ee/spec/frontend/issuable/related_issues/components/ over to Jest. Some of these were very trivial, but related_issues_root_spec proved to be a challenge. In this spec, we introduce Vue test utils and fix some things like:

  • Using arbitrary setTimeout
  • Using mock.onAny() which this flaky spec in Karma #207376 (closed)

References

Edited by Paul Slaughter

Merge request reports