Skip to content

Add tests for the clone panel (#322540)

What does this MR do?

It adds tests for the clone panel. Related context: #322540

How to setup and validate locally (strongly suggested)

  1. Install GitLab Development Kit
  2. Run individual tests
    bundle exec yarn jest spec/frontend/clone_panel_spec.js
    bundle exec rspec spec/views/shared/_clone_panel.html.haml_spec.rb
    bundle exec rspec spec/views/projects/buttons/_clone.html.haml_spec.rb
  3. See that all tests have been passed.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports