Skip to content

Draft: Refactor mr widget state tests using ChatGPT

John Coghlan requested to merge jc-refactor-mr-widget-tests into master

What does this MR do and why?

Closes issue #228611

uses chatGPT to refactor the entire large test in spec/frontend/vue_mr_widget/stores/get_state_key_spec.js into a table of it.each

Screenshots or screen recordings

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

How to set up and validate locally

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

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 Fatima Sarah Khalid

Merge request reports