Skip to content

Update long running tests to use shallowMount

Alexander Turinske requested to merge improve-jest-test-times into master

What does this MR do and why?

Update long running tests to use shallowMount

Related to #417175 (closed)

Related to #391162 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Status Link Screenshot
Before https://gitlab.com/gitlab-org/gitlab/-/pipelines/923536007/test_report before
After https://gitlab.com/gitlab-org/gitlab/-/pipelines/923626782/test_report, https://gitlab.com/gitlab-org/gitlab/-/pipelines/923655393/test_report after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

yarn jest spec/frontend/issuable/related_issues/components/related_issues_root_spec.js ee/spec/frontend/issuable/components/related_issuable_item_spec.js

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alexander Turinske

Merge request reports

Loading